MatrixCursorData class
A data for Android's MatrixCursor, a mutable cursor implementation backed by an array of Objects https://developer.android.com/reference/android/database/MatrixCursor
- Inheritance
-
- Object
- CursorData
- MatrixCursorData
Constructors
-
MatrixCursorData({required List<
String> columnNames, required List<String> ? notificationUris}) - Creates the matrix cursor data.
Properties
-
columnNames
→ List<
String> -
All column names, given on cursor data creation.
no setter
- extras ↔ BundleMap?
-
A map with extra values.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notificationUris
→ List<
String> ? -
A list of URIs to watch the content changes.
finalinherited
- payload → Object?
-
Actual payload data.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRow(
List< Object?> columnValues) → void -
Adds a new row to the end with the given
columnValues
. -
newRow(
) → MatrixCursorDataRowBuilder - Adds a new row to the end and returns a builder for that row.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → BundleMap -
Converts the cursor to map to send it to platform.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited