android.content.pm
public
final
class
android.content.pm.ProviderInfo
Summary
Constants
Fields
public |
|
|
String |
authority |
The name provider is published under content:// |
public |
|
|
boolean |
grantUriPermissions |
If true, additional permissions to specific Uris in this content
provider can be granted, as per the
grantUriPermissions attribute. |
public |
|
|
int |
initOrder |
Used to control initialization order of single-process providers
running in the same process. |
public |
|
|
boolean |
isSyncable |
Whether or not this provider is syncable. |
public |
|
|
boolean |
multiprocess |
If true, this content provider allows multiple instances of itself
to run in different process. |
public |
|
|
String |
readPermission |
Optional permission required for read-only access this content
provider. |
public |
|
|
PatternMatcher[] |
uriPermissionPatterns |
If non-null, these are the patterns that are allowed for granting URI
permissions. |
public |
|
|
String |
writePermission |
Optional permission required for read/write access this content
provider. |
public |
|
|
ApplicationInfo |
applicationInfo |
Global information about the application/package this component is a
part of. |
public |
|
|
boolean |
enabled |
Indicates whether or not this component may be instantiated. |
public |
|
|
boolean |
exported |
Set to true if this component is available for use by other applications. |
public |
|
|
String |
processName |
The name of the process this component should run in. |
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
String
authority
The name provider is published under content://
public
boolean
grantUriPermissions
If true, additional permissions to specific Uris in this content
provider can be granted, as per the
grantUriPermissions attribute.
public
int
initOrder
Used to control initialization order of single-process providers
running in the same process. Higher goes first.
public
boolean
isSyncable
Whether or not this provider is syncable.
public
boolean
multiprocess
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.
public
String
readPermission
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.
public
String
writePermission
Optional permission required for read/write access this content
provider.
Public Constructors
Public Methods
public
int
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
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 out, int parcelableFlags)