语言

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()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于