BackupOptions

sealed external interface BackupOptions(source)

Properties

Link copied to clipboard
abstract var progress: (progressInfo: BackupProgressInfo) -> Unit?

Callback function that will be called with the number of pages copied and the total number of pages.

Link copied to clipboard
abstract var rate: Double?

Number of pages to be transmitted in each batch of the backup.

Link copied to clipboard
abstract var source: String?

Name of the source database. This can be 'main' (the default primary database) or any other database that have been added with ATTACH DATABASE

Link copied to clipboard
abstract var target: String?

Name of the target database. This can be 'main' (the default primary database) or any other database that have been added with ATTACH DATABASE