Share via


TrackingMapManager.ActivateSharedMapAsync Method

Definition

Leaves the current application-exclusive map and returns to the default shared map. If the device was already in the default shared map, this method does nothing.

public System.Threading.Tasks.Task ActivateSharedMapAsync ();
member this.ActivateSharedMapAsync : unit -> System.Threading.Tasks.Task
Public Function ActivateSharedMapAsync () As Task

Returns

Task which is completed when the system has returned to the default map.

Exceptions

Thrown when a map change is already in progress.

Applies to