Class Adaptor

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    An Adaptor object is used to initialize and control how Dali runs.

    It provides the lifecycle interface that allows the application writer to provide their own main loop and other platform related features.

    The Adaptor class provides a means for initialising the resources required by the Dali::Core.

    When dealing with platform events, the application writer must ensure that DALi is called in a thread-safe manner.

    As soon as the Adaptor class is created and started, the application writer can initialise their view objects straight away or as required by the main loop they intend to use (there is no need to wait for an initialize signal as per the Tizen.NUI.Application class).

    [Obsolete("This has been deprecated in API8 and will be removed in API10. This is not used anymore, do not use.")]
    public class Adaptor : Disposable, IDisposable
    Inheritance
    object
    Disposable
    Adaptor
    Implements
    System.IDisposable

    Properties

    View Source

    Instance

    Returns a reference to the instance of the adaptor used by the current thread.

    Declaration
    [Obsolete("This has been deprecated in API8 and will be removed in API10. This is not used anymore, do not use.")]
    public static Adaptor Instance { get; }
    Property Value
    Type Description
    Adaptor
    Remarks

    The adaptor has been initialized. This is only valid in the main thread.

    Methods

    View Source

    FeedKeyEvent(Key)

    Feeds a key event to the adaptor.

    Declaration
    [Obsolete("This has been deprecated in API8 and will be removed in API10. This is not used anymore, do not use.")]
    public void FeedKeyEvent(Key keyEvent)
    Parameters
    Type Name Description
    Key keyEvent

    The key event holding the key information.

    View Source

    FeedWheelEvent(Wheel)

    Feeds a wheel event to the adaptor.

    Declaration
    [Obsolete("This has been deprecated in API8 and will be removed in API10. This is not used anymore, do not use.")]
    public void FeedWheelEvent(Wheel wheelEvent)
    Parameters
    Type Name Description
    Wheel wheelEvent

    The wheel event.

    Implements

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