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.

  • Pushed: Describes the push update that was performed.

  • Popped: Describes the pop update that was performed.

  • Inserted: Describes the insert 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 Inserted(    val docID: DittoDocumentID,     val path: String,     val value: Any?) : DittoUpdateResult
Link copied to clipboard
class Popped(    val docID: DittoDocumentID,     val path: String,     val value: Any?) : DittoUpdateResult
Link copied to clipboard
class Pushed(    val docID: DittoDocumentID,     val path: String,     val value: Any?) : 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard