TypedRealm

interface TypedRealm : BaseRealm

A typed realm that can be queried for objects of a specific type.

Functions

getNumberOfActiveVersions
Link copied to clipboard
common
abstract fun getNumberOfActiveVersions(): Long
Returns the current number of active versions in the Realm file.
isClosed
Link copied to clipboard
common
abstract fun isClosed(): Boolean
Check if this Realm has been closed or not.
objects
Link copied to clipboard
common
abstract fun <T : RealmObject> objects(clazz: KClass<T>): RealmResults<T>
Returns the results of querying for all objects of a specific type.
version
Link copied to clipboard
common
abstract fun version(): VersionId
Returns the Realm version of this object.

Properties

configuration
Link copied to clipboard
common
abstract val configuration: RealmConfiguration
Configuration used to configure this Realm instance.

Inheritors

MutableRealm
Link copied to clipboard
Realm
Link copied to clipboard

Extensions

objects
Link copied to clipboard
common
inline fun <T : RealmObject> TypedRealm.objects(): RealmResults<T>
Returns the results of querying for all objects of a specific type.