shutdown

abstract fun shutdown(logout: Boolean = false)

Cleanly shuts down the SyncClient when you are done with it. After calling this method client could not be reused.

Parameters

logout

If true, on the next client creation the ErrorReason.MismatchedLastUserAccount error will not be thrown, but client will not be able created offline.