ProteusClientProvider

Functions

Link copied to clipboard
abstract suspend fun clearLocalFiles()
Link copied to clipboard
abstract suspend fun exportCryptoDB(exportPath: String): <Error class: unknown class><<Error class: unknown class>, CryptoBackupMetadata>

Exports the cryptographic database to the specified path and returns the metadata required for backup restoration.

Link copied to clipboard
abstract suspend fun getOrCreate(): <Error class: unknown class>

Returns the ProteusClient or creates new one if doesn't exists.

Link copied to clipboard
abstract suspend fun getOrError(): <Error class: unknown class><<Error class: unknown class>, <Error class: unknown class>>

Returns the ProteusClient, retrieves it from local files or returns a failure if local files doesn't exist.