fun syncClientResetStrategy(resetStrategy: SyncClientResetStrategy): SyncConfiguration.Builder

Sets the strategy that would handle the client reset by this synced Realm.

Flexible Sync applications only accept ManuallyRecoverUnsyncedChangesStrategy whereas partition-based applications only accept DiscardUnsyncedChangesStrategy.

In case no strategy is defined a default one (which does not do any data migration and its only job is logging information on the client reset process itself) will be used.



custom strategy to handle client reset.