Class FrameComponent

    Definition

    Namespace:
    Tizen.Applications.ComponentBased.Common
    Assembly:
    Tizen.Applications.ComponentBased.dll

    The class for showing UI module

    public abstract class FrameComponent : BaseComponent
    Inheritance
    object
    BaseComponent
    FrameComponent

    Properties

    View Source

    DisplayStatus

    Gets the display status of a component.

    Declaration
    public DisplayStatus DisplayStatus { get; }
    Property Value
    Type Description
    DisplayStatus
    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown when component type is already added to the component.

    Methods

    View Source

    CreateWindowInfo()

    Overrides this method to create window. It will be called before OnCreate method.

    Declaration
    public abstract IWindowInfo CreateWindowInfo()
    Returns
    Type Description
    IWindowInfo

    Window object to use

    View Source

    OnCreate()

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

    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

    OnPause()

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

    Declaration
    public virtual void OnPause()
    View Source

    OnResume()

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

    Declaration
    public virtual void OnResume()
    View Source

    OnStart(AppControl, bool)

    Overrides this method if want to handle behavior when the component receives the appcontrol message.

    Declaration
    public virtual void OnStart(AppControl appControl, bool restarted)
    Parameters
    Type Name Description
    AppControl appControl

    appcontrol object

    bool restarted

    True if it was restarted

    View Source

    OnStop()

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

    Declaration
    public virtual void OnStop()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX