uploadDatabaseFile

open override fun uploadDatabaseFile(encryptionKey: String?, note: String?, options: SyncOptions)

Upload a copy of the local database file (or files) to the backend server (or an intermediary server) for diagnostic purposes. Note: if the local database is encrypted, and encryptionKey is null, this operation might fail (depending on the provider). Note: if the local database is not encrypted, and encryptionKey is non-null, this operation might fail (depending on the provider).

Parameters

encryptionKey

(nullable) Encryption key for the uploaded database, which may differ from the encryption key of the local database (if any).

note

(nullable) Associated note for trusted users who have access to uploaded databases for diagnostic purposes.

options

Upload options, including cancellation token and progress listener.