LocationManager.RequestFlush メソッド

定義

オーバーロード

名前 説明
RequestFlush(String, ILocationListener, Int32)

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。

RequestFlush(String, PendingIntent, Int32)

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。

RequestFlush(String, ILocationListener, Int32)

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。

[Android.Runtime.Register("requestFlush", "(Ljava/lang/String;Landroid/location/LocationListener;I)V", "GetRequestFlush_Ljava_lang_String_Landroid_location_LocationListener_IHandler", ApiSince=31)]
public virtual void RequestFlush(string provider, Android.Locations.ILocationListener listener, int requestCode);
[<Android.Runtime.Register("requestFlush", "(Ljava/lang/String;Landroid/location/LocationListener;I)V", "GetRequestFlush_Ljava_lang_String_Landroid_location_LocationListener_IHandler", ApiSince=31)>]
abstract member RequestFlush : string * Android.Locations.ILocationListener * int -> unit
override this.RequestFlush : string * Android.Locations.ILocationListener * int -> unit

パラメーター

provider
String

プロバイダーの一覧 #getAllProviders()

listener
ILocationListener

プロバイダーの下に登録されているリスナー

requestCode
Int32

に渡される任意の整数 LocationListener#onFlushComplete(int)

属性

注釈

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。 (プロバイダーに登録されている) 特定のリスナーは、フラッシュされた場所が配信された後、指定された結果コードで LocationListener#onFlushComplete(int) 呼び出されます。 フラッシュ コールバックが実行される前に #removeUpdates(LocationListener) が呼び出された場合、フラッシュ コールバックは実行されません。

Javaドキュメント。

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

適用対象

RequestFlush(String, PendingIntent, Int32)

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。

[Android.Runtime.Register("requestFlush", "(Ljava/lang/String;Landroid/app/PendingIntent;I)V", "GetRequestFlush_Ljava_lang_String_Landroid_app_PendingIntent_IHandler", ApiSince=31)]
public virtual void RequestFlush(string provider, Android.App.PendingIntent pendingIntent, int requestCode);
[<Android.Runtime.Register("requestFlush", "(Ljava/lang/String;Landroid/app/PendingIntent;I)V", "GetRequestFlush_Ljava_lang_String_Landroid_app_PendingIntent_IHandler", ApiSince=31)>]
abstract member RequestFlush : string * Android.App.PendingIntent * int -> unit
override this.RequestFlush : string * Android.App.PendingIntent * int -> unit

パラメーター

provider
String

プロバイダーの一覧 #getAllProviders()

pendingIntent
PendingIntent

プロバイダーの下に登録されている pendingIntent

requestCode
Int32

の余分な値として返される任意の整数 #KEY_FLUSH_COMPLETE

属性

注釈

指定されたプロバイダーがバッチ処理された場所をリスナーにフラッシュするように要求します。 指定された PendingIntent (プロバイダーに登録) は、追加のキーに存在する #KEY_FLUSH_COMPLETE と共に送信され、対応する値として requestCode されます。

Javaドキュメント。

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

適用対象