android.content.pm.PermissionInfo
Information you can retrieve about a particular security permission
known to the system. This corresponds to information collected from the
AndroidManifest.xml's <permission> tags.
Summary
Constants
Fields
| public |
|
|
int |
icon |
A drawable resource identifier (in the package's resources) of this
component's icon. |
| public |
|
|
int |
labelRes |
A string resource identifier (in the package's resources) of this
component's label. |
| public |
|
|
Bundle |
metaData |
Additional meta-data associated with this component. |
| public |
|
|
String |
name |
Public name of this item. |
| public |
|
|
CharSequence |
nonLocalizedLabel |
The string provided in the AndroidManifest file, if any. |
| public |
|
|
String |
packageName |
Name of the package that this item is in. |
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
Creator
CREATOR
public
static
final
int
PROTECTION_APPLICATION
public
static
final
int
PROTECTION_SYSTEM
Fields
public
int
descriptionRes
A string resource identifier (in the package's resources) of this
permission's description. From the "description" attribute or,
if not set, 0.
public
int
protectionLevel
Public Constructors
Public Methods
Retrieve the textual description of this permission. This
will call back on the given PackageManager to load the description from
the application.
Parameters
| pm
| A PackageManager from which the label can be loaded; usually
the PackageManager from which you originally retrieved this item. |
Returns
- Returns a CharSequence containing the permission's description.
If there is no description, null is returned.
public
String
toString()
Answers a string containing a concise, human-readable description of the
receiver.
public
void
writeToParcel(Parcel dest)