Language

PermissionPolicy Enum

Definition

public enum PermissionPolicy
type PermissionPolicy = 
Inheritance
PermissionPolicy

Fields

Name Value Description
Prompt 0

Permission policy to prompt user for new permission requests for runtime permissions. Already granted or denied permissions are not affected by this.

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

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.

AutoGrant 1

Permission policy to always grant new permission requests for runtime permissions. Already granted or denied permissions are not affected by this.

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

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.

AutoDeny 2

Permission policy to always deny new permission requests for runtime permissions. Already granted or denied permissions are not affected by this.

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

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