DynamicRealmObject
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
getBacklinks
Link copied to clipboard
abstract fun getBacklinks(propertyName: String): RealmResults<out DynamicRealmObject>
Content copied to clipboard
Returns a backlinks collection referenced by the property name as a RealmResults.
getNullableValue
Link copied to clipboard
getNullableValueDictionary
Link copied to clipboard
abstract fun <T : Any> getNullableValueDictionary(propertyName: String, clazz: KClass<T>): RealmDictionary<T?>
Content copied to clipboard
Returns the dictionary of nullable elements referenced by the property name as a RealmDictionary.
getNullableValueList
Link copied to clipboard
getNullableValueSet
Link copied to clipboard
getObject
Link copied to clipboard
getObjectDictionary
Link copied to clipboard
abstract fun getObjectDictionary(propertyName: String): RealmDictionary<out DynamicRealmObject?>
Content copied to clipboard
Returns the dictionary of objects referenced by the property name as a RealmDictionary.
getObjectList
Link copied to clipboard
abstract fun getObjectList(propertyName: String): RealmList<out DynamicRealmObject>
Content copied to clipboard
Returns the list of objects referenced by the property name as a RealmList.
getObjectSet
Link copied to clipboard
abstract fun getObjectSet(propertyName: String): RealmSet<out DynamicRealmObject>
Content copied to clipboard
Returns the set of objects referenced by the property name as a RealmSet.
getValueDictionary
Link copied to clipboard
abstract fun <T : Any> getValueDictionary(propertyName: String, clazz: KClass<T>): RealmDictionary<T>
Content copied to clipboard
Returns the dictionary of non-nullable value elements referenced by the property name as a RealmDictionary.
getValueList
Link copied to clipboard
getValueSet
Link copied to clipboard
Properties
Inheritors
DynamicMutableRealmObject
Link copied to clipboard
Extensions
getNullableValue
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValue(fieldName: String): T?
Content copied to clipboard
getNullableValueDictionary
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getNullableValueDictionary(fieldName: String): RealmDictionary<T?>
Content copied to clipboard
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?>
Content copied to clipboard
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?>
Content copied to clipboard
Returns the set of nullable elements referenced by the property name as a RealmSet.
getValueDictionary
Link copied to clipboard
inline fun <T : Any> DynamicRealmObject.getValueDictionary(fieldName: String): RealmDictionary<T>
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
Returns the set referenced by the property name as a RealmSet.