Interface RecordChangedCallback
Record data changed listener, used to be notified whenever the record data has been modified either locally or remotely.
Methods
void onRecordChanged(String name, JsonElement data)
{{#table mode="java-api"}}
-
arg: name
typ: String
des: The name of the record that changed
-
arg: data
typ: JsonElement
des: The updated data
{{/table}}
Called when the listener is added via Record.subscribe(callback,triggerNow)
Will contain the entire record data, regardless of whether triggered by a Patch or Update