CreateMPBackupUseCaseImpl
internal class CreateMPBackupUseCaseImpl(backupRepository: BackupRepository, userRepository: UserRepository, kaliumFileSystem: KaliumFileSystem, fileSystem: <Error class: unknown class> = FileSystem.SYSTEM, exporterProvider: MPBackupExporterProvider = MPBackupExporterProviderImpl(), dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : CreateMPBackupUseCase
Constructors
Link copied to clipboard
constructor(backupRepository: BackupRepository, userRepository: UserRepository, kaliumFileSystem: KaliumFileSystem, fileSystem: <Error class: unknown class> = FileSystem.SYSTEM, exporterProvider: MPBackupExporterProvider = MPBackupExporterProviderImpl(), dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)
Functions
Link copied to clipboard
open suspend operator override fun invoke(password: String, onProgress: (Float) -> Unit): CreateBackupResult
Creates a compressed backup file in multiplatform format. This file can be encrypted with the provided password if password is not empty.