Contains the information about the monitored Geofence objects.
var geofenceMonitor = Windows.Devices.Geolocation.Geofencing.GeofenceMonitor.current;
The GeofenceMonitor class has these types of members:
The GeofenceMonitor class has these events.
|GeofenceStateChanged||Raised when the state of one or more Geofence objects in the Geofences collection of the GeofenceMonitor has changed|
|StatusChanged||Raised when the state of the GeofenceMonitor has changed.|
The GeofenceMonitor class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
|ReadReports||Gets a collection of status changes to the Geofence objects in the Geofences collection of the GeofenceMonitor.|
The GeofenceMonitor class has these properties.
|Read-only||Gets the GeofenceMonitor object which contains all of an app's Geofence information.|
|Read-only||Returns a vector of the app's Geofence objects currently registered with the system wide GeofenceMonitor.|
|Read-only||Last reading of the device's location.|
|Read-only||Indicates the current state of the GeofenceMonitor.|
Use the Current property to get the GeofenceMonitor object which contains all of an app’s geofence information.
Minimum supported client
|Windows 8.1 [Windows Store apps only]|
Minimum supported server
|None supported [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]|