Class TizenUISynchronizationContext

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.Common.dll
API Level:
10

Provides a synchronization context for the Tizen thread application model.

C#
Copy
public class TizenUISynchronizationContext : SynchronizationContext
Inheritance
TizenUISynchronizationContext

Methods

View Source

Initialize()

Initilizes a new TizenUISynchronizationContext and install into the current thread.

Declaration
C#
Copy
public static void Initialize()
Remarks

It is equivalent.

Copy
SetSynchronizationContext(new TizenUISynchronizationContext());
API Level: 10
View Source

Post(SendOrPostCallback, Object)

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

Declaration
C#
Copy
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.

API Level: 10
View Source

Send(SendOrPostCallback, Object)

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

Declaration
C#
Copy
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.

API Level: 10

Extension Methods