ChildEvent.Removed

public final data class ChildEvent.Removed extends ChildEvent


Emitted when a child is removed from the location.

Important: In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.

Summary

Public fields

final @NonNull DataSnapshot

An immutable snapshot of the data at the child that was removed.

Public constructors

Public fields

snapshot

public final @NonNull DataSnapshot snapshot

An immutable snapshot of the data at the child that was removed.

Public constructors

Removed

public Removed(@NonNull DataSnapshot snapshot)
Parameters
@NonNull DataSnapshot snapshot

An immutable snapshot of the data at the child that was removed.