Language

LocationManager.RemoveProximityAlert(PendingIntent) メソッド

定義

指定された PendingIntent を使用して近接アラートを削除します。

[Android.Runtime.Register("removeProximityAlert", "(Landroid/app/PendingIntent;)V", "GetRemoveProximityAlert_Landroid_app_PendingIntent_Handler")]
public virtual void RemoveProximityAlert(Android.App.PendingIntent intent);
[<Android.Runtime.Register("removeProximityAlert", "(Landroid/app/PendingIntent;)V", "GetRemoveProximityAlert_Landroid_app_PendingIntent_Handler")>]
abstract member RemoveProximityAlert : Android.App.PendingIntent -> unit
override this.RemoveProximityAlert : Android.App.PendingIntent -> unit

パラメーター

intent
PendingIntent

近接アラートを通知する必要がなくなった PendingIntent

属性

例外

意図が null の場合

アクセス許可 AccessFineLocation 存在しない場合

注釈

指定された PendingIntent を使用して近接アラートを削除します。

API バージョン 17 より前では、このメソッドは android.Manifest.permission#ACCESS_FINE_LOCATION または android.Manifest.permission#ACCESS_COARSE_LOCATIONで使用できました。 API バージョン 17 以降では、このメソッドには android.Manifest.permission#ACCESS_FINE_LOCATION アクセス許可が必要です。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象