Ditto Update Result
sealed class DittoUpdateResult
Content copied to clipboard
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.ReplacedWithCounter: Describes the
replaceWithCounter
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
Content copied to clipboard
Inserted
Link copied to clipboard
class Inserted(docID: DittoDocumentID, path: String, value: Any?) : DittoUpdateResult
Content copied to clipboard
Popped
Link copied to clipboard
class Popped(docID: DittoDocumentID, path: String, value: Any?) : DittoUpdateResult
Content copied to clipboard
Pushed
Link copied to clipboard
class Pushed(docID: DittoDocumentID, path: String, value: Any) : DittoUpdateResult
Content copied to clipboard
Removed
Link copied to clipboard
Replaced With Counter
Link copied to clipboard
class ReplacedWithCounter(docID: DittoDocumentID, path: String) : DittoUpdateResult
Content copied to clipboard
Set
Link copied to clipboard
class Set(docID: DittoDocumentID, path: String, value: Any) : DittoUpdateResult
Content copied to clipboard
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
DittoUpdateResult
Link copied to clipboard