android.content
Interface IContentProvider
- All Superinterfaces:
- IInterface
- All Known Implementing Classes:
- ContentProvider.Transport, ContentProviderNative, ContentProviderProxy, MockContentProvider
public interface IContentProvider
- extends IInterface
The ipc interface to talk to a content provider.
|
Method Summary |
int |
bulkInsert(Uri url,
ContentValues[] initialValues)
|
IBulkCursor |
bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
int |
delete(Uri url,
String selection,
String[] selectionArgs)
|
ISyncAdapter |
getSyncAdapter()
|
String |
getType(Uri url)
|
Uri |
insert(Uri url,
ContentValues initialValues)
|
ParcelFileDescriptor |
openFile(Uri url,
String mode)
|
Cursor |
query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
int |
update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
descriptor
static final String descriptor
- See Also:
- Constant Field Values
QUERY_TRANSACTION
static final int QUERY_TRANSACTION
- See Also:
- Constant Field Values
GET_TYPE_TRANSACTION
static final int GET_TYPE_TRANSACTION
- See Also:
- Constant Field Values
INSERT_TRANSACTION
static final int INSERT_TRANSACTION
- See Also:
- Constant Field Values
DELETE_TRANSACTION
static final int DELETE_TRANSACTION
- See Also:
- Constant Field Values
UPDATE_TRANSACTION
static final int UPDATE_TRANSACTION
- See Also:
- Constant Field Values
GET_SYNC_ADAPTER_TRANSACTION
static final int GET_SYNC_ADAPTER_TRANSACTION
- See Also:
- Constant Field Values
BULK_INSERT_TRANSACTION
static final int BULK_INSERT_TRANSACTION
- See Also:
- Constant Field Values
OPEN_FILE_TRANSACTION
static final int OPEN_FILE_TRANSACTION
- See Also:
- Constant Field Values
bulkQuery
IBulkCursor bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
throws RemoteException
- Throws:
RemoteException
query
Cursor query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
throws RemoteException
- Throws:
RemoteException
getType
String getType(Uri url)
throws RemoteException
- Throws:
RemoteException
insert
Uri insert(Uri url,
ContentValues initialValues)
throws RemoteException
- Throws:
RemoteException
bulkInsert
int bulkInsert(Uri url,
ContentValues[] initialValues)
throws RemoteException
- Throws:
RemoteException
delete
int delete(Uri url,
String selection,
String[] selectionArgs)
throws RemoteException
- Throws:
RemoteException
update
int update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
throws RemoteException
- Throws:
RemoteException
openFile
ParcelFileDescriptor openFile(Uri url,
String mode)
throws RemoteException,
FileNotFoundException
- Throws:
RemoteException
FileNotFoundException
getSyncAdapter
ISyncAdapter getSyncAdapter()
throws RemoteException
- Throws:
RemoteException
Please submit a feedback, bug or feature