final
int
|
bulkInsert(Uri url, ContentValues[] values)
Inserts multiple rows into a table at the given URL.
|
void
|
cancelSync(Uri uri)
|
final
int
|
delete(Uri url, String where, String[] selectionArgs)
Deletes row(s) specified by a content URI.
|
final
String
|
getType(Uri url)
Return the MIME type of the given content URL.
|
final
Uri
|
insert(Uri url, ContentValues values)
Inserts a row into a table at the given URL.
|
void
|
notifyChange(Uri uri, ContentObserver observer)
Notify registered observers that a row was updated.
|
void
|
notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork)
Notify registered observers that a row was updated.
|
final
AssetFileDescriptor
|
openAssetFileDescriptor(Uri uri, String mode)
Open a raw file descriptor to access data under a "content:" URI.
|
final
ParcelFileDescriptor
|
openFileDescriptor(Uri uri, String mode)
Open a raw file descriptor to access data under a "content:" URI.
|
final
InputStream
|
openInputStream(Uri uri)
Open a stream on to the content associated with a content URI.
|
final
OutputStream
|
openOutputStream(Uri uri)
|
final
OutputStream
|
openOutputStream(Uri uri, String mode)
Open a stream on to the content associated with a content URI.
|
final
Cursor
|
query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
Query the given URI, returning a Cursor over the result set.
|
final
void
|
registerContentObserver(Uri uri, boolean notifyForDescendents, ContentObserver observer)
Register an observer class that gets callbacks when data identified by a
given content URI changes.
|
void
|
startSync(Uri uri, Bundle extras)
Start an asynchronous sync operation.
|
final
void
|
unregisterContentObserver(ContentObserver observer)
Unregisters a change observer.
|
final
int
|
update(Uri uri, ContentValues values, String where, String[] selectionArgs)
Update row(s) in a content URI.
|
static
void
|
validateSyncExtrasBundle(Bundle extras)
Check that only values of the following types are in the Bundle:
- Integer
- Long
- Boolean
- Float
- Double
- String
- null
|