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
    object
    BaseComponent
    ServiceComponent

    Methods

    View Source

    OnCreate()

    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

    View Source

    OnDestroy()

    Overrides this method if want to handle behavior when the component is destroyed.

    Declaration
    public virtual void OnDestroy()
    View Source

    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

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX