DittoUpdateResult

sealed class DittoUpdateResult

Describes the result of an update operation performed on a DittoMutableDocument.

  • Set: Describes the set update that was performed.

  • Removed: Describes the remove update that was performed.

  • Incremented: Describes the increment update that was performed.

Types

Link copied to clipboard
class Incremented(    val docId: DittoDocumentId,     val path: String,     val amount: Double) : DittoUpdateResult
Link copied to clipboard
class Removed(val docId: DittoDocumentId, val path: String) : DittoUpdateResult
Link copied to clipboard
class Set(    val docId: DittoDocumentId,     val path: String,     val value: Any?) : DittoUpdateResult

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard