Realm C++ SDK Version v2.2.0
|
#include <client_reset.hpp>
Additional Inherited Members | |
Protected Attributes inherited from realm::internal::bridge::client_reset_mode_base< db > | |
std::function< void(db local)> | m_before |
std::function< void(db local, db remote)> | m_after |
::realm::client_reset_mode | m_mode |
The manual client reset mode must have the error handler set in the sync_config error handler like so: sync_config().set_error_handler
.
sync_config().set_error_handler
, the client reset will not be handled. The application will likely need to be restarted and unsynced local changes may be lost.