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#Copypublic class TizenUISynchronizationContext : SynchronizationContext
- Inheritance
-
TizenUISynchronizationContext
Methods
View Source
Initialize()
Initilizes a new TizenUISynchronizationContext and install into the current thread.
Declaration
C#Copypublic static void Initialize()
Remarks
It is equivalent.
CopySetSynchronizationContext(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#Copypublic override void Post(SendOrPostCallback d, object state)
Parameters
Type | Name | Description |
---|---|---|
SendOrPostCallback | d | |
Object | state |
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#Copypublic override void Send(SendOrPostCallback d, object state)
Parameters
Type | Name | Description |
---|---|---|
SendOrPostCallback | d | |
Object | state |
Remarks
The send method starts a synchronous request to send a message.