onItemUpdated

open fun onItemUpdated(    context: EventContext,     item: SyncMap.Item,     previousItemData: JSONObject)

This callback is invoked when SyncMap item has been updated.

Parameters

context

Context indicating if change was local or remote.

item

The item after the change.

previousItemData

Snapshot of the item before the change.