Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Interface ObjectChangeSet

On this page

  • io.realm
  • Method Summary
  • Method Detail
  • getChangedFields
  • isDeleted
  • isFieldChanged

Information about the changes made to an object.

Tip

See also:

Modifier and Type
Method and Description
public String
public boolean
public boolean

Checks if a given field has been changed.

Returns

the names of changed fields if the object still exists and there are field changes. Returns an empty String[] if the object has been deleted.

public boolean isDeleted ()

Returns

true if the object has been deleted from the Realm.

public boolean isFieldChanged (
String fieldName
)

Checks if a given field has been changed.

Parameters

  • fieldName - to be checked if its value has been changed.

Returns

true if the field has been changed. It returns false if the object is deleted, the field cannot be found or the field hasn't been changed.

Back

MutableRealmInteger