Interface FlowFactory
io.realm.coroutines
Factory interface for creating Kotlin Flow**s for Realm classes.
Method Summary
Modifier and Type | Method and Description |
---|---|
public <any> | Creates a Flow for a DynamicRealmObject . |
public <any> | Creates a Flow for a RealmObject . |
public <any> | Creates a Flow for a RealmList . |
public <any> | Creates a Flow for a RealmList . |
public <any> | Creates a Flow for a RealmResults instance. |
public <any> | Creates a Flow for a RealmResults instance. |
public <any> | Creates a Flow for a DynamicRealmObject . |
public <any> | Creates a Flow for a RealmObject . |
public <any> | Creates a Flow for a RealmList . |
public <any> | Creates a Flow for a RealmList . |
public <any> | Creates a Flow for a RealmResults . |
public <any> | Creates a Flow for a RealmResults . |
public <any> | Creates a Flow for a DynamicRealm . |
public <any> |
Method Detail
changesetFrom
Creates a Flow for a DynamicRealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object it should emit the object plus the io.realm.ObjectChangeSet that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the DynamicRealmObject. |
Creates a Flow for a RealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object it should emit the object plus the io.realm.ObjectChangeSet that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the DynamicRealmObject. |
Creates a Flow for a RealmList . It should emit the initial list when subscribed to and on each subsequent update of the list it should emit the list plus the io.realm.rx.CollectionChange that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the RealmList. |
Creates a Flow for a RealmList . It should emit the initial list when subscribed to and on each subsequent update of the list it should emit the list plus the io.realm.rx.CollectionChange that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the RealmList. |
Creates a Flow for a RealmResults instance. It should emit the initial results when subscribed to and on each subsequent update of the results it should emit the results plus the io.realm.rx.CollectionChange that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the RealmResults. |
Creates a Flow for a RealmResults instance. It should emit the initial results when subscribed to and on each subsequent update of the results it should emit the results plus the io.realm.rx.CollectionChange that describes the update. Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user. Parameters
Returns Flow that emits all updates to the RealmResults. |
from
Creates a Flow for a DynamicRealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object. Parameters
Returns Flow that emits all updates to the DynamicRealmObject. |
Creates a Flow for a RealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object. Type Parameters
Parameters
Returns Flow that emits all updates to the DynamicRealmObject. |
Creates a Flow for a RealmList . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmList. Note: io.realm.RealmChangeListener is currently not supported on RealmLists. Type Parameters
Parameters
Returns Flow that emit all updates to the RealmList. |
Creates a Flow for a RealmList . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmList. Note: io.realm.RealmChangeListener is currently not supported on RealmLists. Type Parameters
Parameters
Returns Flow that emit all updates to the RealmList. |
Creates a Flow for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults. Type Parameters
Parameters
Returns Flow that emits all updates to the RealmObject. |
Creates a Flow for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults. Type Parameters
Parameters
Returns Flow that emits all updates to the RealmObject. |
Creates a Flow for a DynamicRealm . It should emit the initial state of the Realm when subscribed to and on each subsequent update of the Realm. Parameters
Returns Flow that emits all updates to the Realm. |