Package io.realm.kotlin.notifications

Types

DeletedList
Link copied to clipboard
interface DeletedList<T> : ListChange<T>

This event is emitted when the parent object owning the list has been deleted, which in turn also removes the list. The flow will terminate after observing this event.

DeletedMap
Link copied to clipboard
interface DeletedMap<K, V> : MapChange<K, V>

This event is emitted when the parent object owning the map has been deleted, which in turn also removes the map. The flow will terminate after observing this event.

DeletedObject
Link copied to clipboard
interface DeletedObject<O : BaseRealmObject> : ObjectChange<O>

This interface describes the event is emitted deleted on a RealmObject or EmbeddedRealmObject flow. The flow will terminate after emitting this event.

DeletedSet
Link copied to clipboard
interface DeletedSet<T> : SetChange<T>

This event is emitted when the parent object owning the set has been deleted, which in turn also removes the set. The flow will terminate after observing this event.

DictionaryChangeSet
Link copied to clipboard
typealias DictionaryChangeSet = MapChangeSet<String>

Convenience alias for RealmDictionary changesets. It represents a MapChange of <String, V>.

InitialList
Link copied to clipboard
interface InitialList<T> : ListChange<T>

Initial event to be observed on a RealmList flow. It contains a reference to the starting list state. Note, this state might be different than the list the flow was registered on, if another thread or device updated the object in the meantime.

InitialMap
Link copied to clipboard
interface InitialMap<K, V> : MapChange<K, V>

Initial event to be observed on a RealmMap flow. It contains a reference to the starting map state. Note, this state might be different than the map the flow was registered on, if another thread or device updated the object in the meantime.

InitialObject
Link copied to clipboard
interface InitialObject<O : BaseRealmObject> : ObjectChange<O>

Initial event to be observed on a RealmObject or EmbeddedRealmObject flow. It contains a reference to the starting object state. Note, this state might be different than the object the flow was registered on, if another thread or device updated the object in the meantime.

InitialRealm
Link copied to clipboard
interface InitialRealm<R : BaseRealm> : RealmChange<R>

Initial event to be observed on a Realm flow. It contains a reference to the original Realm instance.

InitialResults
Link copied to clipboard
interface InitialResults<T : BaseRealmObject> : ResultsChange<T>

Initial event to be emitted on a RealmResults flow. It contains a reference to the result of the query, the first time it runs.

InitialSet
Link copied to clipboard
interface InitialSet<T> : SetChange<T>

Initial event to be observed on a RealmSet flow. It contains a reference to the starting set state. Note, this state might be different than the set the flow was registered on, if another thread or device updated the object in the meantime.

ListChange
Link copied to clipboard
interface ListChange<T>

This sealed interface describes the possible changes that can happen to a RealmList collection.

ListChangeSet
Link copied to clipboard
interface ListChangeSet

This interface models the changes that can occur to a list.

MapChange
Link copied to clipboard
interface MapChange<K, V>

This sealed interface describes the possible changes that can happen to a RealmMap.

MapChangeSet
Link copied to clipboard
interface MapChangeSet<K>

This interface models the changes that can occur to a map.

ObjectChange
Link copied to clipboard
interface ObjectChange<O : BaseRealmObject> : SingleQueryChange<O>

This sealed interface describe the possible changes that can be observed to a Realm Object.

PendingObject
Link copied to clipboard
interface PendingObject<O : BaseRealmObject> : SingleQueryChange<O>

Describes the initial state where a query result does not contain any elements.

RealmChange
Link copied to clipboard
interface RealmChange<R : BaseRealm>

This sealed interface describe the possible changes that can be observed to a Realm.

ResultsChange
Link copied to clipboard
interface ResultsChange<T : BaseRealmObject>

This sealed interface describe the possible changes that can happen to a query results collection.

SetChange
Link copied to clipboard
interface SetChange<T>

This sealed interface describes the possible changes that can happen to a RealmSet collection.

SetChangeSet
Link copied to clipboard
interface SetChangeSet

This interface models the changes that can occur to a set.

SingleQueryChange
Link copied to clipboard
interface SingleQueryChange<O : BaseRealmObject>

This sealed class describe the possible events that can be observed on a RealmSingleQuery flow.

UpdatedList
Link copied to clipboard
interface UpdatedList<T> : ListChange<T> , ListChangeSet

RealmList flow event that describes that an update has been performed on the observed list. It provides a reference to the updated list and a set of properties that describes the changes performed on the list.

UpdatedMap
Link copied to clipboard
interface UpdatedMap<K, V> : MapChange<K, V> , MapChangeSet<K>

RealmMap flow event that describes that an update has been performed on the observed map. It provides a reference to the updated map and a number of properties that describe the changes performed on the map.

UpdatedObject
Link copied to clipboard
interface UpdatedObject<O : BaseRealmObject> : ObjectChange<O>

RealmObject or EmbeddedRealmObject flow event that describes that an update has been performed on to the observed object. It provides a reference to the object and a list of the changed field names.

UpdatedRealm
Link copied to clipboard
interface UpdatedRealm<R : BaseRealm> : RealmChange<R>

Realm flow event that describes that an update has been performed on to the observed Realm instance.

UpdatedResults
Link copied to clipboard
interface UpdatedResults<T : BaseRealmObject> : ResultsChange<T> , ListChangeSet

RealmResults flow event that describes that an update has happened to elements in the observed query. It provides a reference to the new query result and a set of properties that describes the changes that happened to the query result.

UpdatedSet
Link copied to clipboard
interface UpdatedSet<T> : SetChange<T> , SetChangeSet

RealmSet flow event that describes that an update has been performed on the observed set. It provides a reference to the updated set and a number of properties that describe the changes performed on the set.