GeofenceHardware.UnregisterForMonitorStateChangeCallback(GeofenceMonitoringType, GeofenceHardwareMonitorCallback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregister the callback that was used with #registerForMonitorStateChangeCallback
to notify when the state of the hardware geofence monitoring system changes.
[Android.Runtime.Register("unregisterForMonitorStateChangeCallback", "(ILandroid/hardware/location/GeofenceHardwareMonitorCallback;)Z", "")]
public bool UnregisterForMonitorStateChangeCallback (Android.Hardware.Location.GeofenceMonitoringType monitoringType, Android.Hardware.Location.GeofenceHardwareMonitorCallback? callback);
[<Android.Runtime.Register("unregisterForMonitorStateChangeCallback", "(ILandroid/hardware/location/GeofenceHardwareMonitorCallback;)Z", "")>]
member this.UnregisterForMonitorStateChangeCallback : Android.Hardware.Location.GeofenceMonitoringType * Android.Hardware.Location.GeofenceHardwareMonitorCallback -> bool
Parameters
- monitoringType
- GeofenceMonitoringType
Type of the monitor
- callback
- GeofenceHardwareMonitorCallback
Callback that will be called.
Returns
true on success
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.