Class ServiceComponent

Definition

Namespace:
Tizen.Applications.ComponentBased.Common
Assembly:
Tizen.Applications.ComponentBased.dll
API Level:
6

The class for showing service module

C#
Copy
public abstract class ServiceComponent : BaseComponent
Inheritance
System.Object
ServiceComponent

Methods

View Source

OnCreate()

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

Declaration
C#
Copy
public abstract bool OnCreate()
Returns
Type Description
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#
Copy
public 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#
Copy
public virtual void OnStartCommand(AppControl appControl, bool restarted)
Parameters
Type Name Description
AppControl appControl

appcontrol object

Boolean restarted

True if it was restarted

API Level: 6