FileDocCategorySizeDatePackage
IContentProvider.javaAPI DocAndroid 1.5 API3301Wed May 06 22:41:54 BST 2009android.content

IContentProvider

public interface IContentProvider implements android.os.IInterface
The ipc interface to talk to a content provider.
hide

Fields Summary
static final String
descriptor
static final int
QUERY_TRANSACTION
static final int
GET_TYPE_TRANSACTION
static final int
INSERT_TRANSACTION
static final int
DELETE_TRANSACTION
static final int
UPDATE_TRANSACTION
static final int
GET_SYNC_ADAPTER_TRANSACTION
static final int
BULK_INSERT_TRANSACTION
static final int
OPEN_FILE_TRANSACTION
static final int
OPEN_ASSET_FILE_TRANSACTION
Constructors Summary
Methods Summary
public intbulkInsert(android.net.Uri url, ContentValues[] initialValues)

public android.database.IBulkCursorbulkQuery(android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder, android.database.IContentObserver observer, android.database.CursorWindow window)

hide
- hide this because return type IBulkCursor and parameter IContentObserver are system private classes.

public intdelete(android.net.Uri url, java.lang.String selection, java.lang.String[] selectionArgs)

public ISyncAdaptergetSyncAdapter()

public java.lang.StringgetType(android.net.Uri url)

public android.net.Uriinsert(android.net.Uri url, ContentValues initialValues)

public android.content.res.AssetFileDescriptoropenAssetFile(android.net.Uri url, java.lang.String mode)

public android.os.ParcelFileDescriptoropenFile(android.net.Uri url, java.lang.String mode)

public android.database.Cursorquery(android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder)

public intupdate(android.net.Uri url, ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)