Class RealmFlowFactory
On this page
io.realm.coroutines
Implemented interfaces:
Factory class used to create coroutine Flow**s.
This class is used by default unless overridden in io.realm.RealmConfiguration.Builder.flowFactory(FlowFactory) .
Constructors
Constructor and Description |
---|
Constructor for the Flow factory. |
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> |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass
,hashCode
,equals
,clone
,toString
,notify
,notifyAll
,wait
,wait
,wait
,finalize
Constructor Detail
Constructor for the Flow factory. Parameters
|
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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. Returns Flow that emits all updates to the Realm. |