Java android.content.pm PermissionInfo fields, constructors, methods, implement or subclass

Example usage for Java android.content.pm PermissionInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content.pm PermissionInfo.

The text is from its open source code.

Field

intPROTECTION_NORMAL
A normal application value for #protectionLevel , corresponding to the normal value of android.R.attr#protectionLevel .
intPROTECTION_DANGEROUS
Dangerous value for #protectionLevel , corresponding to the dangerous value of android.R.attr#protectionLevel .
intPROTECTION_SIGNATURE
System-level value for #protectionLevel , corresponding to the signature value of android.R.attr#protectionLevel .
intPROTECTION_SIGNATURE_OR_SYSTEM
intPROTECTION_FLAG_SYSTEM
intPROTECTION_FLAG_DEVELOPMENT
Additional flag for #protectionLevel , corresponding to the development value of android.R.attr#protectionLevel .
intPROTECTION_FLAG_PRE23
Additional flag for #protectionLevel , corresponding to the pre23 value of android.R.attr#protectionLevel .
intPROTECTION_MASK_BASE
Mask for #protectionLevel : the basic protection type.
intPROTECTION_MASK_FLAGS
Mask for #protectionLevel : additional flag bits.
intFLAG_COSTS_MONEY
Flag for #flags , corresponding to costsMoney value of android.R.attr#permissionFlags .

Constructor

Method

intfixProtectionLevel(int level)
CharSequenceloadDescription(PackageManager pm)
Retrieve the textual description of this permission.
CharSequenceloadLabel(@NonNull PackageManager pm)
Retrieve the current textual label associated with this item.