GeofenceHardwareCallback.OnGeofenceRemove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用以通知删除调用成功或失败的回调。
[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
- 属性
注解
调用以通知删除调用成功或失败的回调。
适用于 . 的 android.hardware.location.GeofenceHardwareCallback.onGeofenceRemove(int, int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。