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
파일 보기 프로젝트 열기: microsoft/AppConsult-Samples-MixedReality

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