onItemRemoved

open fun onItemRemoved(context: EventContext, itemKey: String, previousItemData: JSONObject)

This callback is invoked when SyncMap item has been removed.

Parameters

context

Context indicating if change was local or remote.

itemKey

Key of the item that has been removed.

previousItemData

Snapshot of the item immediately prior deletion.