onAfterRecovery

abstract fun onAfterRecovery(before: <ERROR CLASS>, after: <ERROR CLASS>)

Callback invoked once the Client Reset has recovered the unsynced changes successfully. It provides two Realm instances, a frozen one displaying the state before the reset and a mutable Realm with the current state.

Parameters

before

frozen TypedRealm realm before the reset.

after

MutableRealm realm after the reset.