LocationStatus | locationStatus property

Geolocator.LocationStatus | locationStatus property

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

Syntax


public:
property PositionStatus LocationStatus { 
   PositionStatus get();
}

Property value

Type: PositionStatus

The status of the Geolocator.

Remarks

The LocationStatus property is updated dynamically only when a tracking sessions is active. Otherwise the LocationStatus is either NotInitialized or Disabled.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

location

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2016 Microsoft