BaseRealmObject

interface BaseRealmObject : Deleteable

Base interface for all realm classes.

Inheritors

DynamicRealmObject
Link copied to clipboard
TypedRealmObject
Link copied to clipboard

Extensions

isFrozen
Link copied to clipboard
fun BaseRealmObject.isFrozen(): Boolean

Returns whether the object is frozen or not.

isManaged
Link copied to clipboard
fun BaseRealmObject.isManaged(): Boolean

Returns whether or not this object is managed by Realm.

isValid
Link copied to clipboard
fun BaseRealmObject.isValid(): Boolean

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.

version
Link copied to clipboard
fun BaseRealmObject.version(): VersionId

Returns the Realm version of this object. This version number is tied to the transaction the object was read from.