Package-level declarations
Functions
Observe changes to a Realm object. The flow would emit an InitialObject once subscribed and then, on every change to the object an UpdatedObject. If the observed object is deleted from the Realm, the flow would emit a DeletedObject and then will complete, otherwise it will continue running until canceled.
Creates an unmanaged RealmAny
instance from a BaseRealmObject value.
Returns a BacklinksDelegate that represents the inverse relationship between two an EmbeddedRealmObject and a TypedRealmObject.
Returns a BacklinksDelegate that represents the inverse relationship between two Realm models.
Defines a backlink that represents a one-to-one inverse relationship between an EmbeddedRealmObject and a TypedRealmObject.
Defines a collection of backlinks that represents the inverse relationship between two Realm models. Any direct relationship, one-to-one or one-to-many, can be reversed by backlinks.
Makes an unmanaged in-memory copy of an already persisted io.realm.kotlin.types.RealmObject. This is a deep copy that will copy all referenced objects.
Makes an unmanaged in-memory copy of the elements in a RealmResults. This is a deep copy that will copy all referenced objects.
Makes an unmanaged in-memory copy of the elements in a managed RealmDictionary. This is a deep copy that will copy all referenced objects.
Makes an unmanaged in-memory copy of the elements in a managed RealmList. This is a deep copy that will copy all referenced objects.
Makes an unmanaged in-memory copy of the elements in a managed RealmSet. This is a deep copy that will copy all referenced objects.
Returns whether the object is frozen or not.
Returns whether or not this object is managed by Realm.
Returns true if this object is still valid to use, i.e. the Realm is open and the underlying object has not been deleted. Unmanaged objects are always valid.
Returns a TypedRealmObject that represents the parent that hosts the embedded object.
Gets the parent of the embedded object, embedded objects always have an unique parent, that could be a RealmObject or another EmbeddedRealmObject.
Returns a RealmQuery matching the predicate represented by query.
Query the objects in a dictionary by filter
and arguments
. The query is launched against the output obtained from RealmDictionary.values. This means keys are not taken into consideration.
Query the objects in a list by filter
and arguments
.
Query the objects in a set by filter
and arguments
.
Instantiates an unmanaged RealmDictionaryMutableEntry from a Pair of String and V that can be added to an entry set produced by RealmDictionary.entries. It is possible to add an unmanaged entry to a dictionary entry set. This will result in the entry being copied to Realm, updating the underlying RealmDictionary.
Instantiates an unmanaged RealmMapMutableEntry from another Map.Entry that can be added to an entry set produced by RealmDictionary.entries. It is possible to add an unmanaged entry to a dictionary entry set. This will result in the entry being copied to Realm, updating the underlying RealmDictionary.
Instantiates an unmanaged RealmMapMutableEntry from a key-value pair that can be added to an entry set produced by RealmDictionary.entries. It is possible to add an unmanaged entry to a dictionary entry set. This will result in the entry being copied to Realm, updating the underlying RealmDictionary.
Instantiates an unmanaged RealmDictionary from a variable number of Pairs of String and T.
Instantiates an unmanaged RealmDictionary from a Collection of Pairs of String and T.
Instantiates an unmanaged RealmDictionary containing all the elements of this iterable of Pairs of Strings and Ts.
Instantiates an unmanaged RealmDictionary containing all the elements of the receiver dictionary represented by a Map of String to T pairs.
Instantiates an unmanaged RealmDictionary containing all the elements of the receiver RealmDictionaryEntrySet.
Returns the Realm version of this object. This version number is tied to the transaction the object was read from.