ChildEvent.Moved

data class ChildEvent.Moved : ChildEvent


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 previousChildNameString?

The key name of the sibling location ordered before the child

    location. This will be null if this location is ordered first.

snapshot

val snapshotDataSnapshot

An immutable snapshot of the data at the location that moved.