语言

TelephonyManager.IncludeLocationDataCoarse 字段

定义

注意

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

包括粗略的位置数据。

[Android.Runtime.Register("INCLUDE_LOCATION_DATA_COARSE", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.IncludeLocationDataType enum directly instead of this field.", true)]
public const Android.Telephony.IncludeLocationDataType IncludeLocationDataCoarse = 1;
[<Android.Runtime.Register("INCLUDE_LOCATION_DATA_COARSE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.IncludeLocationDataType enum directly instead of this field.", true)>]
val mutable IncludeLocationDataCoarse : Android.Telephony.IncludeLocationDataType

字段值

Value = 1
特性

注解

包括粗略的位置数据。

指示调用方是否不希望接收位置相关信息,如果调用方已拥有 android.Manifest.permission#ACCESS_COARSE_LOCATION 且不放弃权限,则会发送这些信息。

Java文档android.telephony.TelephonyManager.INCLUDE_LOCATION_DATA_COARSE。

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

适用于