invoke

abstract suspend operator fun invoke(extractResult: ExtractCryptoStateResult.Success): ApplyCryptoStateResult

Applies the crypto state from the extracted backup.

Return

ApplyCryptoStateResult.Success if apply succeeded, or ApplyCryptoStateResult.Failure if it failed.

Parameters

extractResult

The result from ExtractCryptoStateUseCase containing paths to extracted keystores