|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.content.pm.PackageItemInfo
android.content.pm.ComponentInfo
android.content.pm.ProviderInfo
public final class ProviderInfo
Holds information about a specific
content provider. This is returned by
PackageManager.resolveContentProvider().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.content.pm.PackageItemInfo |
|---|
PackageItemInfo.DisplayNameComparator |
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
Parcelable.Creator<T> |
| Field Summary | |
|---|---|
String |
authority
The name provider is published under content:// |
static Parcelable.Creator<ProviderInfo> |
CREATOR
|
boolean |
grantUriPermissions
If true, additional permissions to specific Uris in this content provider can be granted, as per the grantUriPermissions attribute. |
int |
initOrder
Used to control initialization order of single-process providers running in the same process. |
boolean |
isSyncable
Whether or not this provider is syncable. |
boolean |
multiprocess
If true, this content provider allows multiple instances of itself to run in different process. |
String |
readPermission
Optional permission required for read-only access this content provider. |
PatternMatcher[] |
uriPermissionPatterns
If non-null, these are the patterns that are allowed for granting URI permissions. |
String |
writePermission
Optional permission required for read/write access this content provider. |
| Fields inherited from class android.content.pm.ComponentInfo |
|---|
applicationInfo, enabled, exported, processName |
| Fields inherited from class android.content.pm.PackageItemInfo |
|---|
icon, labelRes, metaData, name, nonLocalizedLabel, packageName |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
ProviderInfo()
|
|
ProviderInfo(ProviderInfo orig)
|
|
| Method Summary | |
|---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
void |
writeToParcel(Parcel out,
int parcelableFlags)
Flatten this object in to a Parcel. |
| Methods inherited from class android.content.pm.ComponentInfo |
|---|
dumpBack, dumpFront, getIconResource, loadIcon, loadLabel |
| Methods inherited from class android.content.pm.PackageItemInfo |
|---|
loadXmlMetaData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String authority
public String readPermission
public String writePermission
public boolean grantUriPermissions
grantUriPermissions attribute.
public PatternMatcher[] uriPermissionPatterns
PackageManager.GET_URI_PERMISSION_PATTERNS flag must be specified for
this field to be filled in.
public boolean multiprocess
ComponentInfo.processName.
public int initOrder
public boolean isSyncable
public static final Parcelable.Creator<ProviderInfo> CREATOR
| Constructor Detail |
|---|
public ProviderInfo()
public ProviderInfo(ProviderInfo orig)
| Method Detail |
|---|
public int describeContents()
Parcelable
describeContents in interface Parcelable
public void writeToParcel(Parcel out,
int parcelableFlags)
Parcelable
writeToParcel in interface ParcelablewriteToParcel in class ComponentInfoout - The Parcel in which the object should be written.parcelableFlags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.public String toString()
Object
toString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||