Share via


Geolocator.LocationStatus Property

Definition

The status that indicates the ability of the Geolocator to provide location updates.

public:
 property PositionStatus LocationStatus { PositionStatus get(); };
PositionStatus LocationStatus();
public PositionStatus LocationStatus { get; }
var positionStatus = geolocator.locationStatus;
Public ReadOnly Property LocationStatus As PositionStatus

Property Value

The status of the Geolocator.

Windows requirements

App capabilities
location ID_CAP_LOCATION [Windows Phone]

Remarks

The LocationStatus property is updated dynamically only when a tracking session is active. Otherwise, it is either NotInitialized or Disabled.

Applies to