java.lang.Object | |||
↳ | android.content.pm.PackageItemInfo | ||
↳ | android.content.pm.ComponentInfo | ||
↳ | android.content.pm.ProviderInfo |
Holds information about a specific content provider. This is returned by PackageManager.resolveContentProvider().
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<ProviderInfo> | CREATOR |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
authority | The name provider is published under content:// | ||||||||||
grantUriPermissions | If true, additional permissions to specific Uris in this content provider can be granted, as per the grantUriPermissions attribute. | ||||||||||
initOrder | Used to control initialization order of single-process providers running in the same process. | ||||||||||
isSyncable | Whether or not this provider is syncable. | ||||||||||
multiprocess | If true, this content provider allows multiple instances of itself to run in different process. | ||||||||||
readPermission | Optional permission required for read-only access this content provider. | ||||||||||
uriPermissionPatterns | If non-null, these are the patterns that are allowed for granting URI permissions. | ||||||||||
writePermission | Optional permission required for read/write access this content provider. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.content.pm.ComponentInfo
| |||||||||||
From class
android.content.pm.PackageItemInfo
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.content.pm.ComponentInfo
| |||||||||||
From class android.content.pm.PackageItemInfo
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
|
The name provider is published under content://
If true, additional permissions to specific Uris in this content provider can be granted, as per the grantUriPermissions attribute.
Used to control initialization order of single-process providers running in the same process. Higher goes first.
Whether or not this provider is syncable.
If true, this content provider allows multiple instances of itself to run in different process. If false, a single instances is always run in processName.
Optional permission required for read-only access this content provider.
If non-null, these are the patterns that are allowed for granting URI permissions. Any URI that does not match one of these patterns will not allowed to be granted. If null, all URIs are allowed. The PackageManager.GET_URI_PERMISSION_PATTERNS flag must be specified for this field to be filled in.
Optional permission required for read/write access this content provider.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
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 simply concatenates the class name, the '@' sign and a hexadecimal representation of the object's hashCode(), that is, it is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())