DittoSingleDocumentLiveQueryEvent

class DittoSingleDocumentLiveQueryEvent(val isInitial: Boolean, val oldDocument: DittoDocument?)

Provides information about a live query event relating to a single document live query.

Constructors

Link copied to clipboard
fun DittoSingleDocumentLiveQueryEvent(isInitial: Boolean, oldDocument: DittoDocument?)

Functions

Link copied to clipboard
fun hash(document: DittoDocument?): BigInteger

Returns a hash that represents the document.

Link copied to clipboard
fun hashMnemonic(document: DittoDocument?): String

Returns a pattern of words that together create a mnemonic, which represents the document.

Properties

Link copied to clipboard
val isInitial: Boolean

Indicates whether the event is an initial event or not.

Link copied to clipboard
val oldDocument: DittoDocument?

The document's previous state.