ditto-lib / live.ditto / DittoSingleDocumentLiveQueryEvent

DittoSingleDocumentLiveQueryEvent

class DittoSingleDocumentLiveQueryEvent

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

Constructors

<init>

DittoSingleDocumentLiveQueryEvent(isInitial: Boolean, oldDocument: DittoDocument?)

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

Properties

isInitial

val isInitial: Boolean

Indicates whether the event is an initial event or not.

oldDocument

val oldDocument: DittoDocument?

The document's previous state.