Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
io.realm

Objeto Interface ObjectChangeSet

Information about the changes made to an object.

Tip

Modificador y Tipo
Método y descripción

público String

public booleano

public booleano

Checks if a given field has been changed.

Devuelve

Los nombres de los campos modificados si el objeto aún existe y hay cambios en los campos. Devuelve un valor vacío. String[] Si el objeto ha sido eliminado.

public boolean isDeleted ()

Devuelve

true if the object has been deleted from the Realm.

public boolean isFieldChanged (
String fieldName
)

Checks if a given field has been changed.

Parámetros

  • fieldName - para comprobar si su valor ha cambiado.

Devuelve

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.

Volver

MutableRealmInteger

En esta página