ChildEvent.Moved
data class ChildEvent.Moved : ChildEvent
| kotlin.Any | ||
| ↳ | com.google.firebase.database.ChildEvent | |
| ↳ | com.google.firebase.database.ChildEvent.Moved |
Emitted when a child location's priority changes.
Summary
Public constructors |
|---|
Moved(snapshot: DataSnapshot, previousChildName: String?) |
Public properties |
|
|---|---|
String? |
The key name of the sibling location ordered before the child |
DataSnapshot |
An immutable snapshot of the data at the location that moved. |
Public constructors
Moved
Moved(snapshot: DataSnapshot, previousChildName: String?)
| Parameters | |
|---|---|
snapshot: DataSnapshot |
An immutable snapshot of the data at the location that moved. |
previousChildName: String? |
The key name of the sibling location ordered before the child location. This will be null if this location is ordered first. |
Public properties
previousChildName
val previousChildName: String?
The key name of the sibling location ordered before the child
location. This will be null if this location is ordered first.