- monitoringType
- Type of the monitor
- callback
- Callback that will be called.
Documentation for this section has not yet been entered.
Register the callback to be notified when the state of a hardware geofence monitoring system changes. For instance, it can change from GeofenceHardware.MonitorCurrentlyAvailable to GeofenceHardware.MonitorCurrentlyUnavailable
Requires Android.Manifest.Permission.AccessFineLocation permission when GeofenceHardware.MonitoringTypeGpsHardware is used.
Requires Android.Manifest.Permission.LocationHardware permission to access geofencing in hardware.
This API should not be called directly by the app developers. A higher level api which abstracts the hardware should be used instead. All the checks are done by the higher level public API. Any needed locking should be handled by the higher level API.
The same callback object can be used to be informed of geofence transitions and state changes of the underlying hardware subsystem.