TelephonyManager.IncludeLocationDataNone 字段

定义

注意

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_NONE", 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 IncludeLocationDataNone = 0;
[<Android.Runtime.Register("INCLUDE_LOCATION_DATA_NONE", 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 IncludeLocationDataNone : Android.Telephony.IncludeLocationDataType

字段值

Value = 0
属性

注解

指定不包含任何与位置相关的数据。

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

适用于 . 的 android.telephony.TelephonyManager.INCLUDE_LOCATION_DATA_NONEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于