Language

LocationRequest.Builder.SetMaxUpdates(Int32) メソッド

定義

この要求が自動的に削除されるまでの場所の更新の最大数を設定します。

[Android.Runtime.Register("setMaxUpdates", "(I)Landroid/location/LocationRequest$Builder;", "", ApiSince=31)]
public Android.Locations.LocationRequest.Builder SetMaxUpdates(int maxUpdates);
[<Android.Runtime.Register("setMaxUpdates", "(I)Landroid/location/LocationRequest$Builder;", "", ApiSince=31)>]
member this.SetMaxUpdates : int -> Android.Locations.LocationRequest.Builder

パラメーター

maxUpdates
Int32

要求が削除されるまでの更新の最大数。 値は 1 以上である必要があります。

返品

このビルダー。

属性

注釈

既定値は int.MaxValue で、更新プログラムの数に制限はありません。

Javaドキュメント。

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

適用対象