Share via


TrackingMapManager.GetAsync Method

Definition

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.

Applies to