C# Класс HoloToolkit.Unity.ApplicationViewManager

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.
Наследование: MonoBehaviour
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Start void

Открытые методы

Метод Описание
CallbackReturnValue ( object returnValue ) : void

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

OnLaunchXamlView ( string xamlPageName, Action callback, object pageNavigateParameter = null ) : IEnumerator

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

Приватные методы

Метод Описание
Start ( ) : void

Описание методов

CallbackReturnValue() публичный статический Метод

Call this method with Application View Dispatcher, or in Application View Thread, will return to Full3D View and close Application View
public static CallbackReturnValue ( object returnValue ) : void
returnValue object The return value of the XAML View Execution
Результат void

OnLaunchXamlView() публичный Метод

Call this method in Unity App Thread can switch to Plan View, create and show a new XAML View.
public OnLaunchXamlView ( string xamlPageName, Action callback, object pageNavigateParameter = null ) : IEnumerator
xamlPageName string
callback Action
pageNavigateParameter object
Результат IEnumerator