Android.Hardware.Location.GeofenceHardware.UnregisterForMonitorStateChangeCallback Method
Unregister the callback that was used with GeofenceHardware.RegisterForMonitorStateChangeCallback(GeofenceMonitoringType, Android.Hardware.Location.GeofenceHardwareMonitorCallback) to notify when the state of the hardware geofence monitoring system changes.

Syntax

[Android.Runtime.Register("unregisterForMonitorStateChangeCallback", "(ILandroid/hardware/location/GeofenceHardwareMonitorCallback;)Z", "")]
public bool UnregisterForMonitorStateChangeCallback ([Android.Runtime.GeneratedEnum] GeofenceMonitoringType monitoringType, GeofenceHardwareMonitorCallback callback)

Parameters

monitoringType
Type of the monitor
callback
Callback that will be called.

Returns

Documentation for this section has not yet been entered.

Remarks

Unregister the callback that was used with GeofenceHardware.RegisterForMonitorStateChangeCallback(GeofenceMonitoringType, Android.Hardware.Location.GeofenceHardwareMonitorCallback) to notify when the state of the hardware geofence monitoring system changes.

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.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Location
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18