devsite/tools/jazzy/templates

FirebaseDatabase Framework Reference

DataEventType

enum DataEventType : Int, @unchecked Sendable

This enum is the set of events that you can observe at a Firebase Database location.

  • A new child node is added to a location.

    Declaration

    Swift

    case childAdded = 0
  • A child node is removed from a location.

    Declaration

    Swift

    case childRemoved = 1
  • A child node at a location changes.

    Declaration

    Swift

    case childChanged = 2
  • A child node moves relative to the other child nodes at a location.

    Declaration

    Swift

    case childMoved = 3
  • Any data changes at a location or, recursively, at any child node.

    Declaration

    Swift

    case value = 4