SingleQueryChange
This sealed class describe the possible events that can be observed on a RealmSingleQuery flow.
It extends the sealed interface ObjectChange by adding the new event PendingObject on top of its hierarchy. See RealmSingleQuery.asFlow for more information on how these events are emitted.
Object event hierarchy diagram:
┌───────────────────┐
│ SingleQueryChange │
└─────────┬─────────┘
┌────────────┴───────────┐
┌──────▼───────┐ ┌───────▼───────┐
│ ObjectChange │ │ PendingObject │
└──────┬───────┘ └───────────────┘
┌────────────────┼────────────────────┐
┌────────▼──────┐ ┌──────▼────────┐ ┌────────▼──────┐
│ InitialObject │ │ UpdatedObject │ │ DeletedObject │
└───────────────┘ └───────────────┘ └───────────────┘
Content copied to clipboard