java.lang.Object | ||
↳ | android.content.pm.PackageItemInfo | |
↳ | 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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_PERSONAL_INFO | Flag for flags , corresponding to personalInfo value of permissionGroupFlags . |
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
CREATOR | ||||||||||
|
descriptionRes | A string resource identifier (in the package's resources) of this permission's description. | |||||||||
|
flags | Additional flags about this group as given by permissionGroupFlags . |
|||||||||
|
nonLocalizedDescription | The description string provided in the AndroidManifest file, if any. | |||||||||
|
priority | Prioritization of this group, for visually sorting with other groups. |
[Expand]
Inherited Fields
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
|
|||||||||
|
|
Retrieve the textual description of this permission.
|
|||||||||
|
|
Returns a string containing a concise, human-readable description of this object.
|
|||||||||
|
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
|||||||||||
![]() |
|||||||||||
![]() |
Flag for flags
, corresponding to personalInfo
value of permissionGroupFlags
.
A string resource identifier (in the package's resources) of this permission's description. From the "description" attribute or, if not set, 0.
Additional flags about this group as given by permissionGroupFlags
.
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.
Prioritization of this group, for visually sorting with other groups.
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.
pm | A PackageManager from which the label can be loaded; usually the PackageManager from which you originally retrieved this item. |
---|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful toString
method if you intend implementing your own toString
method.