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
constructor(isInitial: Boolean, oldDocument: DittoDocument?)

Properties

Link copied to clipboard

Indicates whether the event is an initial event or not.

Link copied to clipboard

The document's previous state.

Functions

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

Returns a hash that represents the document.

Link copied to clipboard

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