DocumentChange

actual class DocumentChange(source)
actual class DocumentChange(source)
expect class DocumentChange(source)

A change to the results of a query, mirroring the Android SDK's DocumentChange.

actual class DocumentChange(source)
actual class DocumentChange(source)
actual class DocumentChange(source)

Types

Link copied to clipboard
actual enum Type : Enum<DocumentChange.Type>
actual enum Type : Enum<DocumentChange.Type>
expect enum Type : Enum<DocumentChange.Type>
actual enum Type : Enum<DocumentChange.Type>
actual enum Type : Enum<DocumentChange.Type>
actual enum Type : Enum<DocumentChange.Type>

Properties

Link copied to clipboard

The document after the change.

Link copied to clipboard
val ios: <Error class: unknown class>

The underlying Firebase iOS SDK object.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object.

Link copied to clipboard
actual val newIndex: Int
actual val newIndex: Int
expect val newIndex: Int

The index of the document in the new results, or -1 if it was removed.

actual val newIndex: Int
actual val newIndex: Int
actual val newIndex: Int
Link copied to clipboard
actual val oldIndex: Int
actual val oldIndex: Int
expect val oldIndex: Int

The index of the document in the previous results, or -1 if it was added.

actual val oldIndex: Int
actual val oldIndex: Int
actual val oldIndex: Int
Link copied to clipboard

Whether the document was added, modified or removed.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String