BaseRealm

interface BaseRealm : Versioned

Base class for all Realm instances (Realm and MutableRealm).

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.
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

TypedRealm
Link copied to clipboard