Reference:Android.content.pm.ProviderInfo

From Triled Wiki

Jump to: navigation, search


android.content.pm
public final class android.content.pm.ProviderInfo

java.lang.Object
android.content.pm.PackageItemInfo
android.content.pm.ComponentInfo
android.content.pm.ProviderInfo Parcelable

Holds information about a specific content provider. This is returned by PackageManager.resolveContentProvider().

Contents

[edit] Summary

[edit] Constants

      Value  
Creator   CREATOR        

[edit] Fields

public      String   authority   The name provider is published under content://  
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      String   writePermission   Optional permission required for read/write access this content provider.  

[edit] Fields inherited from class android.content.pm.ComponentInfo
applicationInfo, enabled, processName
[edit] Fields inherited from class android.content.pm.PackageItemInfo

icon, labelRes, metaData, name, nonLocalizedLabel, packageName

[edit] Public Constructors

          ProviderInfo ()
          ProviderInfo (ProviderInfo orig)

[edit] Public Methods

        String   toString ()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel (Parcel out)

[edit] Methods inherited from class android.content.pm.ComponentInfo
dumpBack, dumpFront, getIconResource, loadIcon, loadLabel, writeToParcel
[edit] Methods inherited from class android.content.pm.PackageItemInfo
dumpFront, loadIcon, loadLabel, loadXmlMetaData, writeToParcel
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.os.Parcelable

writeToParcel

[edit] Details

[edit] Constants

[edit] public static final Creator CREATOR

[edit] Fields

[edit] public String authority

The name provider is published under content://

[edit] public int initOrder

Used to control initialization order of single-process providers running in the same process. Higher goes first.

[edit] public boolean isSyncable

Whether or not this provider is syncable.

[edit] 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.

[edit] public String readPermission

Optional permission required for read-only access this content provider.

[edit] public String writePermission

Optional permission required for read/write access this content provider.

[edit] Public Constructors

[edit] public ProviderInfo()

[edit] public ProviderInfo(ProviderInfo orig)

[edit] Public Methods

[edit] public String toString()

Answers a string containing a concise, human-readable description of the receiver.

[edit] public void writeToParcel(Parcel out)

[edit] References

Personal tools