Class ServiceComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
- API Level:
- 6
The class for showing service module
C#Copypublic abstract class ServiceComponent : BaseComponent
- Inheritance
Methods
Declaration
C#Copypublic abstract bool OnCreate()
Returns
Type | Description |
---|---|
System.Boolean | 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#Copypublic virtual void OnDestroy()
API Level: 6
View Source
OnStartCommand(AppControl, Boolean)
Overrides this method if want to handle behavior when the component receives the start command message.
Declaration
C#Copypublic virtual void OnStartCommand(AppControl appControl, bool restarted)
Parameters
Type | Name | Description |
---|---|---|
AppControl | appControl | appcontrol object |
System.Boolean | restarted | True if it was restarted |