ChildEvent.Added
data class ChildEvent.Added : ChildEvent
| kotlin.Any | ||
| ↳ | com.google.firebase.database.ChildEvent | |
| ↳ | com.google.firebase.database.ChildEvent.Added |
Emitted when a new child is added to the location.
Summary
Public constructors |
|---|
Added(snapshot: DataSnapshot, previousChildName: String?) |
Public properties |
|
|---|---|
String? |
The key name of sibling location ordered before the new child. |
DataSnapshot |
An immutable snapshot of the data at the new child location |
Public constructors
Added
Added(snapshot: DataSnapshot, previousChildName: String?)
| Parameters | |
|---|---|
snapshot: DataSnapshot |
An immutable snapshot of the data at the new child location |
previousChildName: String? |
The key name of sibling location ordered before the new 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 new child. This
will be null for the first child node of a location.