Share via


PackageInfo.RequestedPermissionNeverForLocation Field

Definition

Caution

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

Flag for #requestedPermissionsFlags: the requested permission has declared neverForLocation in their manifest as a strong assertion by a developer that they will never use this permission to derive the physical location of the device, regardless of android.Manifest.permission#ACCESS_FINE_LOCATION and/or android.Manifest.permission#ACCESS_COARSE_LOCATION being granted.

[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

Field Value

Value = 65536

Implements

Attributes

Remarks

Flag for #requestedPermissionsFlags: the requested permission has declared neverForLocation in their manifest as a strong assertion by a developer that they will never use this permission to derive the physical location of the device, regardless of android.Manifest.permission#ACCESS_FINE_LOCATION and/or android.Manifest.permission#ACCESS_COARSE_LOCATION being granted.

Java documentation for android.content.pm.PackageInfo.REQUESTED_PERMISSION_NEVER_FOR_LOCATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to