android.content.pm.PermissionGroupInfo
Information you can retrieve about a particular security permission
group known to the system. This corresponds to information collected from the
AndroidManifest.xml's <permission-group> 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
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
CharSequence
nonLocalizedDescription
The description string provided in the AndroidManifest file, if any. You
probably don't want to use this, since it will be null if the description
is in a resource. You probably want
loadDescription(PackageManager) instead.
Public Constructors
public
PermissionGroupInfo()
Public Methods
public
int
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
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()
Returns a string containing a concise, human-readable description of the
receiver.
Returns
- String a printable representation for the receiver.
public
void
writeToParcel(Parcel dest, int parcelableFlags)