語言

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

地理圍欄的識別碼。

status
GeofenceMonitorStatus

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

屬性

備註

回撥時會通知移除通話的成功或失敗。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於