RealmObject

interface RealmObject

Marker interface to define a model (managed by Realm).

Extensions

delete
Link copied to clipboard
common
fun RealmObject.delete()
Deletes the RealmObject.
isFrozen
Link copied to clipboard
common
fun RealmObject.isFrozen(): Boolean
Returns whether the object is frozen or not.
isManaged
Link copied to clipboard
common
fun RealmObject.isManaged(): Boolean
Returns whether or not this object is managed by Realm.
isValid
Link copied to clipboard
common
fun RealmObject.isValid(): Boolean
Returns true if this object is still valid to use, i.e.
version
Link copied to clipboard
common
fun RealmObject.version(): VersionId
Returns the Realm version of this object.