FirebaseDatabase Framework Reference

DataEventType

enumDataEventType:Int,@uncheckedSendable

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

  • A new child node is added to a location.

    Declaration

    Swift

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

    Declaration

    Swift

    casechildRemoved=1
  • A child node at a location changes.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    casevalue=4

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-11 UTC.