BackupOptions

sealed external interface BackupOptions(source)

Properties

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

An optional callback function that will be called after each backup step. The argument passed to this callback is an Object with remainingPages and totalPages properties, describing the current progress of the backup operation.

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