語言

PackageInfo.RequestedPermissionNeverForLocation 欄位

定義

警告

This constant will be removed in the future version. Use Android.Content.PM.RequestedPermission enum directly instead of this field.

標記:#requestedPermissionsFlags被請求的許可在其清單中明確聲明neverForLocation,開發者強烈表示無論是否android.Manifest.permission#ACCESS_FINE_LOCATIONandroid.Manifest.permission#ACCESS_COARSE_LOCATION獲得授權,他們都不會利用此許可來推算裝置的物理位置。

[Android.Runtime.Register("REQUESTED_PERMISSION_NEVER_FOR_LOCATION", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.RequestedPermission enum directly instead of this field.", true)]
public const Android.Content.PM.RequestedPermission RequestedPermissionNeverForLocation = 65536;
[<Android.Runtime.Register("REQUESTED_PERMISSION_NEVER_FOR_LOCATION", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.RequestedPermission enum directly instead of this field.", true)>]
val mutable RequestedPermissionNeverForLocation : Android.Content.PM.RequestedPermission

欄位值

Value = 65536

實作

屬性

備註

標記:#requestedPermissionsFlags被請求的許可在其清單中明確聲明neverForLocation,開發者強烈表示無論是否android.Manifest.permission#ACCESS_FINE_LOCATIONandroid.Manifest.permission#ACCESS_COARSE_LOCATION獲得授權,他們都不會利用此許可來推算裝置的物理位置。

Java 文件 android.content.pm.PackageInfo.REQUESTED_PERMISSION_NEVER_FOR_LOCATION。

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

適用於