Language

PermissionGrantState Enum

Definition

public enum PermissionGrantState
type PermissionGrantState = 
Inheritance
PermissionGrantState

Fields

Name Value Description
Default 0

Runtime permission state: The user can manage the permission through the UI.

Android reference for android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT.

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.

Granted 1

Runtime permission state: The permission is granted to the app and the user cannot manage the permission through the UI.

Android reference for android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED.

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.

Denied 2

Runtime permission state: The permission is denied to the app and the user cannot manage the permission through the UI.

Android reference for android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED.

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