Package-level declarations

Types

Link copied to clipboard

This use case is responsible for answering a call.

Link copied to clipboard
internal class AnswerCallUseCaseImpl(allCalls: GetAllCallsWithSortedParticipantsUseCase, callManager: <Error class: unknown class><CallManager>, muteCall: MuteCallUseCase, unMuteCall: UnMuteCallUseCase, kaliumConfigs: KaliumConfigs, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : AnswerCallUseCase
Link copied to clipboard
Link copied to clipboard

This class is responsible for updating conversation clients in a call Usually called when a member is removed from conversation

Link copied to clipboard
class ConversationClientsInCallUpdaterImpl(callManager: <Error class: unknown class><CallManager>, conversationRepository: ConversationRepository, federatedIdMapper: FederatedIdMapper, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : ConversationClientsInCallUpdater
Link copied to clipboard

End call when conversation is deleted, user is not a member anymore or user is deleted.

Link copied to clipboard
internal class EndCallOnConversationChangeUseCaseImpl(callRepository: CallRepository, conversationRepository: ConversationRepository, endCallUseCase: EndCallUseCase, endCallListener: EndCallResultListener) : EndCallOnConversationChangeUseCase
Link copied to clipboard
sealed class EndCallResult
Link copied to clipboard
Link copied to clipboard

This singleton allow us to queue event to show dialog informing user that call was ended because of verification degradation.

Link copied to clipboard
interface EndCallUseCase

This use case is responsible for ending a call.

Link copied to clipboard
internal class EndCallUseCaseImpl(callManager: <Error class: unknown class><CallManager>, callRepository: CallRepository, endCallListener: EndCallResultListener, shouldAskCallFeedback: ShouldAskCallFeedbackUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : EndCallUseCase

This use case is responsible for ending a call.

Link copied to clipboard
class FlipToBackCameraUseCase(flowManagerService: FlowManagerService)

This use case will flip the camera to back facing

Link copied to clipboard
class FlipToFrontCameraUseCase(flowManagerService: FlowManagerService)

This use case will flip the camera to front facing

Link copied to clipboard

Use case to get a list of all calls with the participants sorted according to the CallingParticipantsOrder

Link copied to clipboard

This class is responsible for providing the conversation type for a call.

Link copied to clipboard
internal class GetCallConversationTypeProviderImpl(userConfigRepository: UserConfigRepository, conversationRepository: ConversationRepository, callMapper: CallMapper) : GetCallConversationTypeProvider
Link copied to clipboard

Use case that is responsible for observing the incoming calls.

Link copied to clipboard
internal class GetIncomingCallsUseCaseImpl(callRepository: CallRepository, userRepository: UserRepository, conversationRepository: ConversationRepository) : GetIncomingCallsUseCase
Link copied to clipboard
class IsCallRunningUseCase(callRepository: CallRepository)

This use case is responsible for checking if there is a call running.

Link copied to clipboard
Link copied to clipboard
internal class IsEligibleToStartCallUseCaseImpl(userConfigRepository: UserConfigRepository, callRepository: CallRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : IsEligibleToStartCallUseCase
Link copied to clipboard

This use case checks whether the last call in a conversation is closed or not. fixme: rename to ObservesLastCallClosedUseCase

Link copied to clipboard
Link copied to clipboard
interface MuteCallUseCase

This use case is responsible for muting a call.

Link copied to clipboard
class MuteCallUseCaseImpl(callManager: <Error class: unknown class><CallManager>, callRepository: CallRepository) : MuteCallUseCase
Link copied to clipboard

The useCase for observing when the ongoing call was ended because of degradation of conversation verification status (Proteus or MLS)

The useCase for observing when the ongoing call was ended because of degradation of conversation verification status (Proteus or MLS)

Link copied to clipboard

This use case is responsible for observing the established calls.

Use case to observe established call with the participants sorted according to the CallingParticipantsOrder

Link copied to clipboard

This use case is responsible for observing the ongoing calls.

Link copied to clipboard

Use case that is responsible for observing outgoing calls.

Link copied to clipboard
class ObserveSpeakerUseCase(mediaManagerService: MediaManagerService)

This use case is responsible for observing the speaker state, returns true if the speaker is on, false otherwise.

Link copied to clipboard
class RejectCallUseCase(callManager: <Error class: unknown class><CallManager>, callRepository: CallRepository, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

This use case will reject a call for the given conversation.

Link copied to clipboard
class RequestVideoStreamsUseCase(callManager: <Error class: unknown class><CallManager>, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

This use case is responsible for requesting video streams for a call to avs.

Link copied to clipboard
class SetTestPreviewActiveUseCase(callManager: <Error class: unknown class><CallManager>)

Enable / disable preview video when running the calling test tool

Link copied to clipboard
class SetTestRemoteVideoStatesUseCase(callManager: <Error class: unknown class><CallManager>)

Forward the calling participants' video state to the calling test tool

Link copied to clipboard
class SetTestVideoTypeUseCase(callManager: <Error class: unknown class><CallManager>)

This use case is responsible for enabling the test preview.

Link copied to clipboard
class SetVideoPreviewUseCase(flowManagerService: FlowManagerService)

This use case is responsible for setting the video preview on and off, in an ongoing call.

Link copied to clipboard
class StartCallUseCase(callManager: <Error class: unknown class><CallManager>, syncManager: SyncManager, kaliumConfigs: KaliumConfigs, callRepository: CallRepository, getCallConversationType: GetCallConversationTypeProvider, answerCall: AnswerCallUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

Attempts to start a call. Will wait for sync to finish or fail if it is pending, and return one Result.

Link copied to clipboard
class TurnLoudSpeakerOffUseCase(mediaManagerService: MediaManagerService, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

This use case is responsible for setting the speaker state to off.

Link copied to clipboard
class TurnLoudSpeakerOnUseCase(mediaManagerService: MediaManagerService, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

This use case is responsible for turning the loudspeaker on for a call.

Link copied to clipboard

This use case is responsible for un-mute a call.

Link copied to clipboard
internal class UnMuteCallUseCaseImpl(callManager: <Error class: unknown class><CallManager>, callRepository: CallRepository) : UnMuteCallUseCase

This use case is responsible for updating conversation clients in a call Usually called when a member is removed from conversation

Functions