RestoreWebBackupUseCaseImpl
internal class RestoreWebBackupUseCaseImpl(kaliumFileSystem: KaliumFileSystem, selfUserId: <Error class: unknown class>, persistMigratedMessages: PersistMigratedMessagesUseCase, restartSlowSyncProcessForRecovery: RestartSlowSyncProcessForRecoveryUseCase, migrationDAO: <Error class: unknown class>, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl, conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId)) : RestoreWebBackupUseCase
Constructors
Link copied to clipboard
constructor(kaliumFileSystem: KaliumFileSystem, selfUserId: <Error class: unknown class>, persistMigratedMessages: PersistMigratedMessagesUseCase, restartSlowSyncProcessForRecovery: RestartSlowSyncProcessForRecoveryUseCase, migrationDAO: <Error class: unknown class>, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl, conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId))
Functions
Link copied to clipboard
open suspend operator override fun invoke(backupRootPath: <Error class: unknown class>, metadata: BackupMetadata): RestoreBackupResult
Restores a valid previously created web backup file into the current database, respecting the current data if there is any overlap.