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_SUCCESSGeofenceHardware#GEOFENCE_ERROR_ID_UNKNOWNGeofenceHardware#GEOFENCE_FAILURE

属性

注解

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

适用于 . 的 android.hardware.location.GeofenceHardwareCallback.onGeofenceRemove(int, int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于