語言

LocationRequest.MaxUpdates 屬性

定義

回傳此請求在自動移除前,最多的地點更新次數。

public int MaxUpdates { [Android.Runtime.Register("getMaxUpdates", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMaxUpdates", "()I", "", ApiSince=31)>]
member this.MaxUpdates : int

屬性值

價值介於 1 到 Integer.MAX_VALUE 之間(含)

屬性

備註

回傳此請求在自動移除前,最多的地點更新次數。 最大更新數 Integer.MAX_VALUE 值代表無限次更新。

Java 文件 android.location.LocationRequest.getMaxUpdates()。

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

適用於