ChildEvent.Changed
data class ChildEvent.Changed : ChildEvent
| kotlin.Any | ||
| ↳ | com.google.firebase.database.ChildEvent | |
| ↳ | com.google.firebase.database.ChildEvent.Changed |
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 be null for the first child node of a location. |
Public properties
previousChildName
val previousChildName: String?
The key name of sibling location ordered before the child. This will
be null for the first child node of a location.
snapshot
val snapshot: DataSnapshot
An immutable snapshot of the data at the new data at the child location