语言

GeofenceHardwareCallback.OnGeofenceRemove 方法

定义

调用以通知删除调用成功或失败的回调。

[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

参数

geofenceId
Int32

地理围栏的 ID。

status
GeofenceMonitorStatus

其中之一:GeofenceHardware#GEOFENCE_SUCCESS、GeofenceHardware#GEOFENCE_ERROR_ID_UNKNOWN、GeofenceHardware#GEOFENCE_FAILURE

特性

注解

调用以通知删除调用成功或失败的回调。

Java文档android.hardware.location.GeofenceHardwareCallback.onGeofenceRemove(int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于