android_content_provider library

This library exposes ContentProvider and related ContentResolver APIs on Android.

Read more in the README.

Classes

AndroidContentProvider
A communication interface with native Android ContentProvider https://developer.android.com/reference/android/content/ContentProvider
AndroidContentProviderMessageCodec
The codec utilized to encode data back and forth between the Dart and the native platform.
AndroidContentResolver
A communication interface with native Android ContentResolver https://developer.android.com/reference/android/content/ContentResolver
CallingIdentity
Opaque token representing the identity of an incoming IPC https://developer.android.com/reference/android/content/ContentProvider.CallingIdentity
CancellationSignal
Provides the ability to cancel an operation in progress https://developer.android.com/reference/android/os/CancellationSignal
ContentObserver
Receives call backs for changes to content https://developer.android.com/reference/android/database/ContentObserver
ContentValues
This class is used to store a set of values that the content provider/resolver can process https://developer.android.com/reference/android/content/ContentValues
CursorData
Builds and contains a data of a platform Cursor https://developer.android.com/reference/android/database/Cursor
Interoperable
An object that can be associated with some native counterpart instance.
MatrixCursorData
A data for Android's MatrixCursor, a mutable cursor implementation backed by an array of Objects https://developer.android.com/reference/android/database/MatrixCursor
MatrixCursorDataRowBuilder
A row builder for MatrixCursorData.
MimeTypeInfo
Detailed description of a specific MIME type, including an icon and label that describe the type https://developer.android.com/reference/android/content/ContentResolver.MimeTypeInfo
NativeCursor
The cursor that calls into platform Cursor https://developer.android.com/reference/android/database/Cursor
NativeCursorGetBatch
Represents a batched get operation returned from NativeCursor.batchedGet.
ReceivedCancellationSignal
A CancellationSignal that was created somewhere else and received by some client, typically AndroidContentProvider.
RequiresApiOr
Annotation that indicates that some method requires a certain Android API level to work correctly.
RequiresApiOrNoop
Annotation that indicates that some method requires a certain Android API level to work correctly.
RequiresApiOrThrows
Annotation that indicates that some method requires a certain Android API level to work correctly.

Constants

native → const _Native
Annotation on AndroidContentProvider methods.

Typedefs

BundleMap = Map<String, Object?>
Map type alias that is used in place of Android Bundle https://developer.android.com/reference/android/os/Bundle.

Exceptions / Errors

CursorRangeError
An error indicating that a cursor is out of bounds.