GeofenceMonitor.LastKnownGeoposition | lastKnownGeoposition property

Applies to Windows and Windows Phone

Last reading of the device's location.

Syntax


var lastKnownGeoposition = geofenceMonitor.lastKnownGeoposition;

Property value

Type: Geoposition

Last reading of the device's location.

Remarks

Before using the value from this property, the application must first check that the value is not null.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

Geofence
GeofenceMonitor

 

 

Show:
© 2014 Microsoft