Geolocator.LocationStatus | locationStatus property

Applies to Windows and Windows Phone

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

Syntax


var locationStatus = geolocator.locationStatus;

Property value

Type: PositionStatus

The status of the Geolocator.

Remarks

  • Applies to Windows Phone

Note  On Windows Phone, the LocationStatus property is updated dynamically only when a tracking sessions is active. Otherwise the LocationStatus is either NotInitialized or Disabled.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Geolocator

 

 

Show:
© 2014 Microsoft