Package io.realm.kotlin.dynamic

Types

DynamicMutableRealm
Link copied to clipboard
interface DynamicMutableRealm : DynamicRealm
A dynamic mutable realm gives access and allows creation and modification of data in the realm through a generic string based API instead of the conventional Realm API that uses the typed API of the schema classes supplied in the configuration.
DynamicMutableRealmObject
Link copied to clipboard
interface DynamicMutableRealmObject : DynamicRealmObject
A dynamic mutable realm object gives access and possibility to update the data of the realm objects through a generic string based API instead of the conventional Realm API that only allows access and updates through the properties of the corresponding schema classes supplied in the configuration.
DynamicRealm
Link copied to clipboard
interface DynamicRealm : BaseRealm
A dynamic realm gives access to the data of the realm through a generic string based API instead of the conventional Realm API that uses the schema classes supplied in the configuration.
DynamicRealmObject
Link copied to clipboard
interface DynamicRealmObject : BaseRealmObject
A dynamic realm object gives access to the data of the realm objects through a generic string based API instead of the conventional Realm API that only allows access through the properties of the corresponding schema classes supplied in the configuration.

Functions

getNullableValue
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValue(fieldName: String): T?
Returns the value of a specific nullable value property.
getNullableValueDictionary
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValueDictionary(fieldName: String): RealmDictionary<T?>
Returns the set of nullable elements referenced by the property name as a RealmDictionary.
getNullableValueList
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValueList(fieldName: String): RealmList<T?>
Returns the list of nullable elements referenced by the property name as a RealmList.
getNullableValueSet
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValueSet(fieldName: String): RealmSet<T?>
Returns the set of nullable elements referenced by the property name as a RealmSet.
getValue
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getValue(fieldName: String): T
Returns the value of a specific value property.
getValueDictionary
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getValueDictionary(fieldName: String): RealmDictionary<T>
Returns the set referenced by the property name as a RealmDictionary.
getValueList
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getValueList(fieldName: String): RealmList<T>
Returns the list referenced by the property name as a RealmList.
getValueSet
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getValueSet(fieldName: String): RealmSet<T>
Returns the set referenced by the property name as a RealmSet.