-api-id | -api-type |
---|---|
T:Windows.Devices.Geolocation.Geofencing.GeofenceMonitor |
winrt class |
Contains the information about the monitored Geofence objects.
Use the static Current property to get the GeofenceMonitor object which contains all of an app’s geofence information.
You will receive an IDS_GEOFENCEMONITOR_OUT_OF_SYNC exception if the Location Framework Service event state is out of synchronization with the GeofenceMonitor. You can attempt to recover by removing all event handlers on the GeofenceMonitor or restarting the application. Once all event handlers have been removed, you may add back any event handlers and retry the operation.
Geofencing, start to finish, Windows.Devices.Geolocation, Geofence
location