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

Incremented
Link copied to clipboard
class Incremented(docID: DittoDocumentID, path: String, amount: Double) : DittoUpdateResult
Inserted
Link copied to clipboard
class Inserted(docID: DittoDocumentID, path: String, value: Any?) : DittoUpdateResult
Popped
Link copied to clipboard
class Popped(docID: DittoDocumentID, path: String, value: Any?) : DittoUpdateResult
Pushed
Link copied to clipboard
class Pushed(docID: DittoDocumentID, path: String, value: Any) : DittoUpdateResult
Removed
Link copied to clipboard
class Removed(docID: DittoDocumentID, path: String) : DittoUpdateResult
Set
Link copied to clipboard
class Set(docID: DittoDocumentID, path: String, value: Any) : DittoUpdateResult

Inheritors

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