Permission Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum Permission
type Permission = 
Inheritance
Permission

Fields

Name Value Description
Denied -1

Permission check result: this is returned by CheckPermission(String, String)if the permission has not been granted to the given package.

Granted 0

Permission check result: this is returned by CheckPermission(String, String)if the permission has been granted to the given package.

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