English | Site Directory

Android - An Open Handset Alliance Project

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().

Summary

Constants

      Value  
Creator  CREATOR       

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. 
Fields inherited from class android.content.pm.ComponentInfo
Fields inherited from class android.content.pm.PackageItemInfo

Public Constructors

          ProviderInfo()
          ProviderInfo(ProviderInfo orig)

Public Methods

        String  toString()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel(Parcel out)
Methods inherited from class android.content.pm.ComponentInfo
Methods inherited from class android.content.pm.PackageItemInfo
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator CREATOR

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. 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.

public String writePermission

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

Public Constructors

public ProviderInfo()

public ProviderInfo(ProviderInfo orig)

Public Methods

public String toString()

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

public void writeToParcel(Parcel out)

Build m5-rc15g - 14 May 2008 12:50