Package io.realm

Interface ObjectChangeSet

  • public interface ObjectChangeSet
    Information about the changes made to an object.
    See Also:
    • Method Detail

      • isDeleted

        boolean isDeleted()
        true if the object has been deleted from the Realm.
      • getChangedFields

        String[] getChangedFields()
        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.
      • isFieldChanged

        boolean isFieldChanged​(String fieldName)
        Checks if a given field has been changed.
        fieldName - to be checked if its value has been changed.
        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.