C# Class UnityEngine.WSA.Application

Provides essential methods related to Window Store application.

Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
InvokeOnAppThread ( AppCallbackItem item, bool waitUntilDone ) : void

Executes callback item on application thread.

InvokeOnUIThread ( AppCallbackItem item, bool waitUntilDone ) : void

Executes callback item on UI thread.

Private Methods

Method Description
GetAdvertisingIdentifier ( ) : string
GetAppArguments ( ) : string
InternalTryInvokeOnAppThread ( AppCallbackItem item, bool waitUntilDone ) : bool
InternalTryInvokeOnUIThread ( AppCallbackItem item, bool waitUntilDone ) : bool
InvokeWindowActivatedEvent ( WindowActivationState state ) : void
InvokeWindowSizeChangedEvent ( int width, int height ) : void
RunningOnAppThread ( ) : bool
RunningOnUIThread ( ) : bool
TryInvokeOnAppThread ( AppCallbackItem item, bool waitUntilDone ) : bool
TryInvokeOnUIThread ( AppCallbackItem item, bool waitUntilDone ) : bool

Method Details

InvokeOnAppThread() public static method

Executes callback item on application thread.

public static InvokeOnAppThread ( AppCallbackItem item, bool waitUntilDone ) : void
item AppCallbackItem Item to execute.
waitUntilDone bool Wait until item is executed.
return void

InvokeOnUIThread() public static method

Executes callback item on UI thread.

public static InvokeOnUIThread ( AppCallbackItem item, bool waitUntilDone ) : void
item AppCallbackItem Item to execute.
waitUntilDone bool Wait until item is executed.
return void