Java android.content ContentProviderClient fields, constructors, methods, implement or subclass

Example usage for Java android.content ContentProviderClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content ContentProviderClient.

The text is from its open source code.

Method

ContentProviderResult[]applyBatch(@NonNull ArrayList operations)
See ContentProvider#applyBatch ContentProvider.applyBatch
intbulkInsert(@NonNull Uri url, @NonNull ContentValues[] initialValues)
See ContentProvider#bulkInsert ContentProvider.bulkInsert
voidclose()
Closes this client connection, indicating to the system that the underlying ContentProvider is no longer needed.
intdelete(@NonNull Uri url, @Nullable String selection, @Nullable String[] selectionArgs)
See ContentProvider#delete ContentProvider.delete
ContentProvidergetLocalContentProvider()
Get a reference to the ContentProvider that is associated with this client.
StringgetType(@NonNull Uri url)
See ContentProvider#getType ContentProvider.getType
Uriinsert(@NonNull Uri url, @Nullable ContentValues initialValues)
See ContentProvider#insert ContentProvider.insert
AssetFileDescriptoropenAssetFile(@NonNull Uri url, @NonNull String mode)
See ContentProvider#openAssetFile ContentProvider.openAssetFile .
Cursorquery(@NonNull Uri url, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder)
See ContentProvider#query ContentProvider.query
Cursorquery(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal)
See ContentProvider#query ContentProvider.query
booleanrelease()
voidreleaseQuietly(ContentProviderClient client)
intupdate(@NonNull Uri url, @Nullable ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs)
See ContentProvider#update ContentProvider.update