importBackupFile

suspend fun importBackupFile(sourcePath: String): Result<Boolean>

Import a backup file from an external location.

Use this to restore a wallet from a backup file that was exported earlier or transferred from another device.

Return

Result.success(true) if imported successfully

Parameters

sourcePath

The absolute path to the backup file to import