UpdatedObject

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.

Properties

Link copied to clipboard
abstract val changedFields: Array<String>

Returns the names of properties that has changed.

Link copied to clipboard
abstract override val obj: O

Returns the newest state of object being observed. null is returned if the object has been deleted.

Functions

Link copied to clipboard
open fun isFieldChanged(fieldName: String): Boolean

Checks if a given field has been changed.