ChildEvent

sealed class ChildEvent(source)

A change to a child of a location, emitted by Query.childEvents.

Inheritors

Types

Link copied to clipboard
data class Added(val snapshot: DataSnapshot, val previousChildName: String?) : ChildEvent

A child was added; previousChildName orders it after its sibling.

Link copied to clipboard
data class Changed(val snapshot: DataSnapshot, val previousChildName: String?) : ChildEvent

The data of a child changed.

Link copied to clipboard
data class Moved(val snapshot: DataSnapshot, val previousChildName: String?) : ChildEvent

A child changed position because its priority changed.

Link copied to clipboard
data class Removed(val snapshot: DataSnapshot) : ChildEvent

A child was removed.