UpdatedObject

interface UpdatedObject<O : BaseRealmObject> : ObjectChange<O>

RealmObject or EmbeddedRealmObject flow event that describes that an update has been performed on to the observed object. It provides a reference to the object and a list of the changed field names.

Functions

isFieldChanged
Link copied to clipboard
open fun isFieldChanged(fieldName: String): Boolean
Checks if a given field has been changed.

Properties

changedFields
Link copied to clipboard
abstract val changedFields: Array<String>
Returns the names of properties that has changed.
obj
Link copied to clipboard
abstract override val obj: O
Returns the newest state of object being observed.