Class FrameComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
- API Level:
- 6
The class for showing UI module
public abstract class FrameComponent : BaseComponent
- Inheritance
Properties
View SourceDisplayStatus
Gets the display status of a component.
Declaration
public DisplayStatus DisplayStatus { get; }
Property Value
Type | Description |
---|---|
DisplayStatus |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when component type is already added to the component. |
API Level: 6
Methods
View SourceCreateWindowInfo()
Overrides this method to create window. It will be called before OnCreate method.
Declaration
public abstract IWindowInfo CreateWindowInfo()
Returns
Type | Description |
---|---|
IWindowInfo | Window object to use |
API Level: 6
View SourceOnCreate()
Overrides this method to handle behavior when the component is launched.
Declaration
public abstract bool OnCreate()
Returns
Type | Description |
---|---|
Boolean | True if a service component is successfully created |
API Level: 6
View SourceOnDestroy()
Overrides this method if want to handle behavior when the component is destroyed.
Declaration
public virtual void OnDestroy()
API Level: 6
View SourceOnPause()
Overrides this method if you want to handle the behavior when the component is paused.
Declaration
public virtual void OnPause()
API Level: 6
View SourceOnResume()
Overrides this method if you want to handle the behavior when the component is resumed.
Declaration
public virtual void OnResume()
API Level: 6
View SourceOnStart(AppControl, Boolean)
Overrides this method if want to handle behavior when the component receives the appcontrol message.
Declaration
public virtual void OnStart(AppControl appControl, bool restarted)
Parameters
Type | Name | Description |
---|---|---|
AppControl | appControl | appcontrol object |
Boolean | restarted | True if it was restarted |
API Level: 6
View SourceOnStop()
Overrides this method if you want to handle the behavior when the component is stopped.
Declaration
public virtual void OnStop()