DittoUpdateResult
public enum 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. - replacedWithCounter: Describes the
replaceWithCounter
update that was performed. - incremented: Describes the
increment
update that was performed. - replacedText: Describes the
replaceText
update that was performed. - pushed: Describes the
push
update that was performed. - popped: Describes the
pop
update that was performed.
-
Undocumented
Declaration
Swift
case set(docID: String, path: String, value: Any)
-
Undocumented
Declaration
Swift
case removed(docID: String, path: String)
-
Undocumented
Declaration
Swift
case replacedWithCounter(docID: String, path: String)
-
Undocumented
Declaration
Swift
case incremented(docID: String, path: String, amount: Double)
-
Undocumented
Declaration
Swift
case replacedText(docID: String, path: String, index: UInt, length: UInt, newText: String)
-
Undocumented
Declaration
Swift
case pushed(docID: String, path: String, value: Any)
-
Undocumented
Declaration
Swift
case popped(docID: String, path: String, value: Any?)