![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
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...
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... | |
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.
|
static |
Call this method with Application View Dispatcher, or in Application View Thread, will return to Full3D View and close Application View
| returnValue | The return value of the XAML View Execution |
Definition at line 69 of file ApplicationViewManager.cs.
| 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.
| TReturnValue |
| xamlPageName | |
| callback |
Definition at line 80 of file ApplicationViewManager.cs.