Class TizenUISynchronizationContext

    Definition

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

    Provides a synchronization context for the Tizen thread application model.

    public class TizenUISynchronizationContext : SynchronizationContext
    Inheritance
    object
    TizenUISynchronizationContext

    Methods

    View Source

    Initialize()

    Initilizes a new TizenUISynchronizationContext and install into the current thread.

    Declaration
    public static void Initialize()
    Remarks

    It is equivalent.

    SetSynchronizationContext(new TizenUISynchronizationContext());
    View Source

    Post(SendOrPostCallback, object)

    Dispatches an asynchronous message to a Tizen main loop of the UI thread.

    Declaration
    public override void Post(SendOrPostCallback d, object state)
    Parameters
    Type Name Description
    SendOrPostCallback d

    The SendOrPostCallback delegate to call.

    object state

    The object passed to the delegate.

    Remarks

    The post method starts an asynchronous request to post a message.

    View Source

    Send(SendOrPostCallback, object)

    Dispatches a synchronous message to a Tizen main loop of the UI thread.

    Declaration
    public override void Send(SendOrPostCallback d, object state)
    Parameters
    Type Name Description
    SendOrPostCallback d

    The SendOrPostCallback delegate to call.

    object state

    The object passed to the delegate.

    Remarks

    The send method starts a synchronous request to send a message.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX