Show / Hide Table of Contents

    Interface ICoreBackend

    Definition

    Namespace:
    Tizen.Applications.CoreBackend
    Assembly:
    Tizen.Applications.Common.dll
    API Level:
    3

    An interface that represents the backend lifecycles.

    public interface ICoreBackend : IDisposable

    Methods

    View Source

    AddEventHandler(EventType, Action)

    Adds an event handler.

    Declaration
    void AddEventHandler(EventType evType, Action handler)
    Parameters
    Type Name Description
    EventType evType

    The type of event.

    Action handler

    The handler method without arguments.

    API Level: 3
    View Source

    AddEventHandler<TEventArgs>(EventType, Action<TEventArgs>)

    Adds an event handler.

    Declaration
    void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler)
        where TEventArgs : EventArgs
    Parameters
    Type Name Description
    EventType evType

    The type of event.

    Action<TEventArgs> handler

    The handler method with a TEventArgs type argument.

    Type Parameters
    Name Description
    TEventArgs

    The EventArgs type used in arguments of the handler method.

    API Level: 3
    View Source

    Exit()

    Exits the mainloop of the backend.

    Declaration
    void Exit()
    API Level: 3
    View Source

    Run(String[])

    Runs the mainloop of the backend.

    Declaration
    void Run(string[] args)
    Parameters
    Type Name Description
    String[] args
    API Level: 3
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX