ChildEvent.Changed

public final data class ChildEvent.Changed extends ChildEvent


Emitted when the data at a child location has changed.

Summary

Public fields

final String

The key name of sibling location ordered before the child.

final @NonNull DataSnapshot

An immutable snapshot of the data at the new data at the child location

Public constructors

Changed(@NonNull DataSnapshot snapshot, String previousChildName)

Public fields

previousChildName

public final String previousChildName

The key name of sibling location ordered before the child. This will

    be null for the first child node of a location.

snapshot

public final @NonNull DataSnapshot snapshot

An immutable snapshot of the data at the new data at the child location

Public constructors

Changed

public Changed(@NonNull DataSnapshot snapshot, String previousChildName)
Parameters
@NonNull DataSnapshot snapshot

An immutable snapshot of the data at the new data at the child location

String previousChildName

The key name of sibling location ordered before the child. This will

    be null for the first child node of a location.