语言

LocationRequest.QualityLowPower 字段

定义

注意

This constant will be removed in the future version. Use Android.Locations.LocationRequestQuality enum directly instead of this field.

一个质量常量,指示位置提供程序可以选择通过提供不太准确的位置来满足此请求,以便节省电源。

[Android.Runtime.Register("QUALITY_LOW_POWER", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Locations.LocationRequestQuality enum directly instead of this field.", true)]
public const Android.Locations.LocationRequestQuality QualityLowPower = 104;
[<Android.Runtime.Register("QUALITY_LOW_POWER", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Locations.LocationRequestQuality enum directly instead of this field.", true)>]
val mutable QualityLowPower : Android.Locations.LocationRequestQuality

字段值

Value = 104

实现

特性

注解

一个质量常量,指示位置提供程序可以选择通过提供不太准确的位置来满足此请求,以便节省电源。 每个位置提供程序可以以不同的方式解释此字段,但作为示例,网络提供商可以选择返回基于单元格的位置,而不是基于 wifi 的位置,以便在存在此标志时节省电源。

Java文档android.location.LocationRequest.QUALITY_LOW_POWER。

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

适用于