On this page
Class encapsulating information needed for handling a Client Reset event.
Modifier and Type
Method and Description
Calling this method will execute the Client Reset manually instead of waiting until next app restart.
Returns the location of the backed up Realm file.
The configuration that can be used to open the backup Realm offline.
Returns the location of the original Realm file.
Methods inherited from class java.lang.Object :
Methods inherited from class java.lang.Throwable :
Methods inherited from class io.realm.mongodb.AppException :
Calling this method will execute the Client Reset manually instead of waiting until next app restart. This will only be possible if all instances of that Realm have been closed, otherwise a IllegalStateException will be thrown.
After this method returns, the backup file can be found in the location returned by getBackupFile() . The file at getOriginalFile() have been deleted, but will be recreated from scratch next time a Realm instance is opened.
Returns the location of the original Realm file. After the Client Reset has completed, the file at this location will be deleted.
a reference to the location of the original Realm file. After Client Reset has been executed this file will no longer exists. Use