mergeOfflineDatabase

abstract fun mergeOfflineDatabase(@NonNull filePath: String, @NonNull callback: OfflineDatabaseMergeCallback)

Merge offline regions from a secondary database into the main offline database.

Parameters

filePath

The file path to the secondary database.

callback

Invoked upon success and failure. This callback is invoked on the database thread and the user is responsible for dispatching to an appropriate thread before passing it along.