ChildEvent.Changed

data classChildEvent.Changed :ChildEvent


Emitted when the data at a child location has changed.

Summary

Public constructors

Changed(snapshot: DataSnapshot, previousChildName: String?)

Public properties

String?

The key name of sibling location ordered before the child.

DataSnapshot

An immutable snapshot of the data at the new data at the child location

Public constructors

Changed

Changed(snapshot: DataSnapshot, previousChildName: String?)
Parameters
snapshot: DataSnapshot

An immutable snapshot of the data at the new data at the child location

previousChildName: String?

The key name of sibling location ordered before the child. This will

benullforthefirstchildnodeofalocation.

Public properties

previousChildName

val previousChildNameString?

The key name of sibling location ordered before the child. This will

benullforthefirstchildnodeofalocation.

snapshot

val snapshotDataSnapshot

An immutable snapshot of the data at the new data at the child location

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-07-21 UTC.