FIRDataEventType

enum FIRDataEventType : NSInteger {}

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

    Objective-C

    FIRDataEventTypeChildAdded
  • A child node is removed from a location.

    Declaration

    Swift

    case childRemoved = 1

    Objective-C

    FIRDataEventTypeChildRemoved
  • A child node at a location changes.

    Declaration

    Swift

    case childChanged = 2

    Objective-C

    FIRDataEventTypeChildChanged
  • A child node moves relative to the other child nodes at a location.

    Declaration

    Swift

    case childMoved = 3

    Objective-C

    FIRDataEventTypeChildMoved
  • Any data changes at a location or, recursively, at any child node.

    Declaration

    Swift

    case value = 4

    Objective-C

    FIRDataEventTypeValue