Class FrameComponent

Definition

Namespace:
Tizen.Applications.ComponentBased.Common
Assembly:
Tizen.Applications.ComponentBased.dll

The class for showing UI module

C#
Copy
public abstract class FrameComponent : BaseComponent
Inheritance
object
FrameComponent

Properties

View Source

DisplayStatus

Gets the display status of a component.

Declaration
C#
Copy
public DisplayStatus DisplayStatus { get; }
Property Value
Type Description
DisplayStatus
Exceptions
Type Condition
System.InvalidOperationException

Thrown when component type is already added to the component.

Methods

View Source

CreateWindowInfo()

Overrides this method to create window. It will be called before OnCreate method.

Declaration
C#
Copy
public abstract IWindowInfo CreateWindowInfo()
Returns
Type Description
IWindowInfo

Window object to use

View Source

OnCreate()

Overrides this method to handle behavior when the component is launched.

Declaration
C#
Copy
public abstract bool OnCreate()
Returns
Type Description
bool

True if a service component is successfully created

View Source

OnDestroy()

Overrides this method if want to handle behavior when the component is destroyed.

Declaration
C#
Copy
public virtual void OnDestroy()
View Source

OnPause()

Overrides this method if you want to handle the behavior when the component is paused.

Declaration
C#
Copy
public virtual void OnPause()
View Source

OnResume()

Overrides this method if you want to handle the behavior when the component is resumed.

Declaration
C#
Copy
public virtual void OnResume()
View Source

OnStart(AppControl, bool)

Overrides this method if want to handle behavior when the component receives the appcontrol message.

Declaration
C#
Copy
public virtual void OnStart(AppControl appControl, bool restarted)
Parameters
Type Name Description
AppControl appControl

appcontrol object

bool restarted

True if it was restarted

View Source

OnStop()

Overrides this method if you want to handle the behavior when the component is stopped.

Declaration
C#
Copy
public virtual void OnStop()