uploadDatabaseFile

open suspend fun uploadDatabaseFile()

See uploadDatabaseFile_(String?, String?, SyncOptions?).


open suspend fun uploadDatabaseFile(encryptionKey: String?)

See uploadDatabaseFile_(String?, String?, SyncOptions?).

Parameters

encryptionKey

EncryptionKey parameter.


open suspend fun uploadDatabaseFile(encryptionKey: String?, note: String?)

See uploadDatabaseFile_(String?, String?, SyncOptions?).

Parameters

encryptionKey

EncryptionKey parameter.

note

Note parameter.


open suspend 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 database files for diagnostic purposes.

options

(nullable) Upload options, including cancellation token and progress listener.