Share via


GeofenceHardwareCallback.OnGeofencePause(Int32, GeofenceMonitorStatus) Method

Definition

The callback called to notify the success or failure of the pause call.

[Android.Runtime.Register("onGeofencePause", "(II)V", "GetOnGeofencePause_IIHandler")]
public virtual void OnGeofencePause (int geofenceId, Android.Hardware.Location.GeofenceMonitorStatus status);
[<Android.Runtime.Register("onGeofencePause", "(II)V", "GetOnGeofencePause_IIHandler")>]
abstract member OnGeofencePause : int * Android.Hardware.Location.GeofenceMonitorStatus -> unit
override this.OnGeofencePause : int * Android.Hardware.Location.GeofenceMonitorStatus -> unit

Parameters

geofenceId
Int32

The ID of the geofence.

status
GeofenceMonitorStatus

One of GeofenceHardware#GEOFENCE_SUCCESS, GeofenceHardware#GEOFENCE_ERROR_ID_UNKNOWN, GeofenceHardware#GEOFENCE_FAILURE

Attributes

Remarks

The callback called to notify the success or failure of the pause call.

Java documentation for android.hardware.location.GeofenceHardwareCallback.onGeofencePause(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