Class ServiceComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
The class for showing service module
public abstract class ServiceComponent : BaseComponent
- Inheritance
Methods
View SourceOnCreate()
Overrides this method to handle behavior when the component is created.
Declaration
public abstract bool OnCreate()
Returns
Type | Description |
---|---|
bool | True if a service component is successfully created |
OnDestroy()
Overrides this method if want to handle behavior when the component is destroyed.
Declaration
public virtual void OnDestroy()
OnStartCommand(AppControl, bool)
Overrides this method if want to handle behavior when the component receives the start command message.
Declaration
public virtual void OnStartCommand(AppControl appControl, bool restarted)
Parameters
Type | Name | Description |
---|---|---|
AppControl | appControl | appcontrol object |
bool | restarted | True if it was restarted |