Language

RequestedPermission Enum

Definition

Enumerates values returned by several types.

public enum RequestedPermission
type RequestedPermission = 
Inheritance
RequestedPermission

Fields

Name Value Description
Required 1

Flag for RequestedPermissionsFlags: the requested permission is required for the application to run; the user can not optionally disable it.

Granted 2

Flag for RequestedPermissionsFlags: the requested permission is currently granted to the application.

Implicit 4

Flag for requestedPermissionsFlags: the requested permission was not explicitly requested via uses-permission, but was instead implicitly requested (e.g., for version compatibility reasons).

Android reference for android.content.pm.PackageInfo.REQUESTED_PERMISSION_IMPLICIT.

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.

NeverForLocation 65536

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 Manifest.permission.ACCESS_FINE_LOCATION and/or Manifest.permission.ACCESS_COARSE_LOCATION being granted.

Android reference 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.

Remarks

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