TrackingMapManager.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an instance of TrackingMapManager.
public static System.Threading.Tasks.Task<Microsoft.MixedReality.OpenXR.TrackingMapManager> GetAsync ();
static member GetAsync : unit -> System.Threading.Tasks.Task<Microsoft.MixedReality.OpenXR.TrackingMapManager>
Public Shared Function GetAsync () As Task(Of TrackingMapManager)
Returns
Task<TrackingMapManager>
which is completed when the Tracking Map Manager is fully initialized.
The Result
property of the task is a TrackingMapManager
instance.
Remarks
Use IsSupported(TrackingMapType) to check if the HoloLens 2 on which the application is currently executing supports Application-Exclusive maps.