Udostępnij za pośrednictwem


GeofenceHardwareCallback.OnGeofenceRemove Method

Definition

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

[Android.Runtime.Register("onGeofenceRemove", "(II)V", "GetOnGeofenceRemove_IIHandler")]
public virtual void OnGeofenceRemove (int geofenceId, Android.Hardware.Location.GeofenceMonitorStatus status);
[<Android.Runtime.Register("onGeofenceRemove", "(II)V", "GetOnGeofenceRemove_IIHandler")>]
abstract member OnGeofenceRemove : int * Android.Hardware.Location.GeofenceMonitorStatus -> unit
override this.OnGeofenceRemove : 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 remove call.

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