DittoLiveQueryEventTypeObjC

@objc
public enum DittoLiveQueryEventTypeObjC : Int

Describes the different types of event that you can receive when dealing with live queries.

  • initial: The first event that will be delivered and it will only be delivered once.
  • update: This event will be delivered each time the results of the provided query change. It contains information about the set of documents that previously matched the query before the update, along with information about what documents have been inserted, deleted, updated, or moved, as part of the set of matching documents.
  • error: This event will be delivered if there’s an error in relation to a live query.
  • Undocumented

    Declaration

    Swift

    case initial = 1
  • Undocumented

    Declaration

    Swift

    case update
  • Undocumented

    Declaration

    Swift

    case error