Package-level declarations

Types

Link copied to clipboard

Use Case that allows the user to accept a requested legal hold.

Use case that allows to fetch and persist the legal hold state for the self user.

Link copied to clipboard
sealed class LegalHoldState
Link copied to clipboard

Use case that marks the recent legal hold change as already notified to the user.

Link copied to clipboard

Returns list of ids of conversation members having a legal hold client.

Use case that observes if the legal hold change should be notified to the user or if it has been already notified.

internal class ObserveLegalHoldChangeNotifiedForSelfUseCaseImpl(selfUserId: <Error class: unknown class>, val userConfigRepository: UserConfigRepository, val observeLegalHoldForUserUseCase: ObserveLegalHoldStateForUserUseCase) : ObserveLegalHoldChangeNotifiedForSelfUseCase
Link copied to clipboard

Use case that observes the legal hold request.

Link copied to clipboard
internal class ObserveLegalHoldRequestUseCaseImpl(val userConfigRepository: UserConfigRepository, val preKeyRepository: PreKeyRepository) : ObserveLegalHoldRequestUseCase
Link copied to clipboard

Use case that allows to observe the legal hold state for the self user.

internal class ObserveLegalHoldStateForSelfUserUseCaseImpl(selfUserId: <Error class: unknown class>, observeLegalHoldStateForUser: ObserveLegalHoldStateForUserUseCase, observeLegalHoldRequestUseCase: ObserveLegalHoldRequestUseCase) : ObserveLegalHoldStateForSelfUserUseCase
Link copied to clipboard

Use case that allows to observe the legal hold state for a given user.

Use case that updates the client capabilities of the current user to include the ClientCapability.LegalHoldImplicitConsent capability. Once the capability is updated, the use case will not update it again.

internal class UpdateSelfClientCapabilityToLegalHoldConsentUseCaseImpl(clientRemoteRepository: ClientRemoteRepository, userConfigRepository: UserConfigRepository, selfClientIdProvider: CurrentClientIdProvider, incrementalSyncRepository: IncrementalSyncRepository, kaliumLogger: <Error class: unknown class>) : UpdateSelfClientCapabilityToLegalHoldConsentUseCase