-api-id | -api-type |
---|---|
E:Windows.Devices.Geolocation.Geofencing.GeofenceMonitor.StatusChanged |
winrt event |
Raised when the status of the GeofenceMonitor has changed.
When using a geofence, use the GeofenceMonitor's StatusChanged event to monitor changes in location permissions instead of the StatusChanged event from the Geolocator class. A GeofenceMonitorStatus of Disabled is equivalent to a **Disabled **PositionStatus - both indicate that the app does not have permission to access the location.
location