why deepstreamHub? compare us getting started feature roadmap faq
use cases pricing
products
developers
company
blog contact

Record data changed listener, used to be notified whenever the record data has been modified either locally or remotely.

Methods

onRecordChanged(name,data)

void onRecordChanged(String name, JsonElement data)
argument type description
name String The name of the record that changed
data JsonElement The updated data

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