Class ServiceComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
- API Level:
- 6
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 |
---|---|
Boolean | 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()
API Level: 6
View SourceOnStartCommand(AppControl, Boolean)
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 |
Boolean | restarted | True if it was restarted |