GeofenceHardware.PauseGeofence(Int32, GeofenceMonitoringType) Method

Definition

Pauses the monitoring of a geofence added by #addGeofence call.

[Android.Runtime.Register("pauseGeofence", "(II)Z", "")]
public bool PauseGeofence (int geofenceId, Android.Hardware.Location.GeofenceMonitoringType monitoringType);
[<Android.Runtime.Register("pauseGeofence", "(II)Z", "")>]
member this.PauseGeofence : int * Android.Hardware.Location.GeofenceMonitoringType -> bool

Parameters

geofenceId
Int32

The id of the geofence.

monitoringType
GeofenceMonitoringType

The type of the hardware subsystem that should be used to monitor the geofence.

Returns

Boolean

true when the geofence is successfully sent to the hardware for pausing.

Attributes

Remarks

Java documentation for android.hardware.location.GeofenceHardware.pauseGeofence(int, int).

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.

Applies to