android.content
public
interface
android.content.IContentProvider
The ipc interface to talk to a content provider.
Summary
Constants
Public Methods
| |
|
|
|
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() |
| |
|
|
|
IContentProvider |
getTemporaryInstance() |
| |
|
|
|
String |
getType(Uri url) |
| |
|
|
|
Uri |
insert(Uri url, ContentValues initialValues) |
| |
|
|
|
boolean |
isSyncable() |
| |
|
|
|
MergeResult |
merge(IContentProvider diffs, boolean readOnly) |
| |
|
|
|
void |
onSyncCancelled() |
| |
|
|
|
void |
onSyncStart(ITransport tp, String account) |
| |
|
|
|
void |
onSyncStop(boolean success) |
| |
|
|
|
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) |
Details
Constants
public
static
final
int
BULK_INSERT_TRANSACTION
Constant Value:
13
(0x0000000d)
public
static
final
int
DELETE_TRANSACTION
Constant Value:
4
(0x00000004)
public
static
final
int
GET_SYNC_ADAPTER_TRANSACTION
Constant Value:
11
(0x0000000b)
public
static
final
int
GET_TEMPORARY_INSTANCE_TRANSACTION
Constant Value:
8
(0x00000008)
public
static
final
int
GET_TYPE_TRANSACTION
Constant Value:
2
(0x00000002)
public
static
final
int
INSERT_TRANSACTION
Constant Value:
3
(0x00000003)
public
static
final
int
IS_SYNCABLE_TRANSACTION
Constant Value:
5
(0x00000005)
public
static
final
int
MERGE_TRANSACTION
Constant Value:
9
(0x00000009)
public
static
final
int
ON_SYNC_CANCELLED_TRANSACTION
Constant Value:
12
(0x0000000c)
public
static
final
int
OPEN_FILE_TRANSACTION
Constant Value:
14
(0x0000000e)
public
static
final
int
QUERY_TRANSACTION
Constant Value:
1
(0x00000001)
public
static
final
int
SYNC_ENDING_TRANSACTION
Constant Value:
7
(0x00000007)
public
static
final
int
SYNC_STARTING_TRANSACTION
Constant Value:
6
(0x00000006)
public
static
final
int
UPDATE_TRANSACTION
Constant Value:
10
(0x0000000a)
public
static
final
String
descriptor
Constant Value:
"android.content.IContentProvider"
Public Methods
public
ISyncAdapter
getSyncAdapter()
public
boolean
isSyncable()
public
void
onSyncCancelled()
public
void
onSyncStart(ITransport tp, String account)
public
void
onSyncStop(boolean success)