AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.ApplicationViewManager Class Reference

ApplicationViewManager ( For XAML UWP project) can switch app to Plan View, populate an Application View (New Window of UAP), then navigate the Window root frame to a page. After the page's logic called 'CallbackReturnValue' method, the newly created Application View will be closed, and the system will switch back to your Full3D view. The coroutine which was waiting the callback will get the return value. More...

Inheritance diagram for HoloToolkit.Unity.ApplicationViewManager:

Public Member Functions

IEnumerator OnLaunchXamlView< TReturnValue > (string xamlPageName, Action< TReturnValue > callback, object pageNavigateParameter=null)
 Call this method in Unity App Thread can switch to Plan View, create and show a new XAML View. More...
 

Static Public Member Functions

static void CallbackReturnValue (object returnValue)
 Call this method with Application View Dispatcher, or in Application View Thread, will return to Full3D View and close Application View More...
 

Detailed Description

ApplicationViewManager ( For XAML UWP project) can switch app to Plan View, populate an Application View (New Window of UAP), then navigate the Window root frame to a page. After the page's logic called 'CallbackReturnValue' method, the newly created Application View will be closed, and the system will switch back to your Full3D view. The coroutine which was waiting the callback will get the return value.

Definition at line 26 of file ApplicationViewManager.cs.

Member Function Documentation

§ CallbackReturnValue()

static void HoloToolkit.Unity.ApplicationViewManager.CallbackReturnValue ( object  returnValue)
static

Call this method with Application View Dispatcher, or in Application View Thread, will return to Full3D View and close Application View

Parameters
returnValueThe return value of the XAML View Execution

Definition at line 69 of file ApplicationViewManager.cs.

§ OnLaunchXamlView< TReturnValue >()

IEnumerator HoloToolkit.Unity.ApplicationViewManager.OnLaunchXamlView< TReturnValue > ( string  xamlPageName,
Action< TReturnValue >  callback,
object  pageNavigateParameter = null 
)

Call this method in Unity App Thread can switch to Plan View, create and show a new XAML View.

Template Parameters
TReturnValue
Parameters
xamlPageName
callback
Returns

Definition at line 80 of file ApplicationViewManager.cs.


The documentation for this class was generated from the following file: