onRemoved

open fun onRemoved(context: EventContext, previousData: JSONObject)

This callback is invoked when entire SyncDocument has been removed by a local request.

Parameters

context

Context indicating if change was local or remote.

previousData

Previous contents of the document.