GeofenceHardware.ResumeGeofence(Int32, GeofenceMonitoringType, GeofenceTransition) Method

Definition

Resumes the monitoring of a geofence added by #pauseGeofence call.

[Android.Runtime.Register("resumeGeofence", "(III)Z", "")]
public bool ResumeGeofence (int geofenceId, Android.Hardware.Location.GeofenceMonitoringType monitoringType, Android.Hardware.Location.GeofenceTransition monitorTransition);
[<Android.Runtime.Register("resumeGeofence", "(III)Z", "")>]
member this.ResumeGeofence : int * Android.Hardware.Location.GeofenceMonitoringType * Android.Hardware.Location.GeofenceTransition -> 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.

monitorTransition
GeofenceTransition

Bitwise OR of #GEOFENCE_ENTERED, #GEOFENCE_EXITED, #GEOFENCE_UNCERTAIN

Returns

Boolean

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

Attributes

Remarks

Java documentation for android.hardware.location.GeofenceHardware.resumeGeofence(int, 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