CallDataSource

internal class CallDataSource(callApi: <Error class: unknown class>, qualifiedIdMapper: QualifiedIdMapper, persistMessage: PersistMessageUseCase, callDAO: <Error class: unknown class>, conversationRepository: ConversationRepository, mlsConversationRepository: MLSConversationRepository, epochChangesObserver: EpochChangesObserver, subconversationRepository: SubconversationRepository, userRepository: UserRepository, teamRepository: TeamRepository, mlsClientProvider: MLSClientProvider, joinSubconversation: JoinSubconversationUseCase, leaveSubconversation: LeaveSubconversationUseCase, callMapper: CallMapper, federatedIdMapper: FederatedIdMapper, kaliumDispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : CallRepository

Constructors

Link copied to clipboard
constructor(callApi: <Error class: unknown class>, qualifiedIdMapper: QualifiedIdMapper, persistMessage: PersistMessageUseCase, callDAO: <Error class: unknown class>, conversationRepository: ConversationRepository, mlsConversationRepository: MLSConversationRepository, epochChangesObserver: EpochChangesObserver, subconversationRepository: SubconversationRepository, userRepository: UserRepository, teamRepository: TeamRepository, mlsClientProvider: MLSClientProvider, joinSubconversation: JoinSubconversationUseCase, leaveSubconversation: LeaveSubconversationUseCase, callMapper: CallMapper, federatedIdMapper: FederatedIdMapper, kaliumDispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun advanceEpoch(conversationId: <Error class: unknown class>)
Link copied to clipboard
open suspend override fun callsFlow(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun connectToSFT(url: String, data: String): Either<CoreFailure, ByteArray>
Link copied to clipboard
open suspend override fun createCall(conversationId: <Error class: unknown class>, type: <Error class: unknown class>, status: <Error class: unknown class>, callerId: <Error class: unknown class>, isMuted: Boolean, isCameraOn: Boolean, isCbrEnabled: Boolean)
Link copied to clipboard
open override fun currentCallProtocol(conversationId: <Error class: unknown class>): <Error class: unknown class>?
Link copied to clipboard
open suspend override fun establishedCallConversationId(): <Error class: unknown class>?
Link copied to clipboard
open suspend override fun establishedCallsFlow(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun getCallConfigResponse(limit: Int?): Either<CoreFailure, String>
Link copied to clipboard
open override fun getCallMetadataProfile(): <Error class: unknown class>
Link copied to clipboard
open override fun getEstablishedCall(): <Error class: unknown class>
Link copied to clipboard
open suspend override fun getLastClosedCallCreatedByConversationId(conversationId: <Error class: unknown class>): <Error class: unknown class><String?>
Link copied to clipboard
open suspend override fun incomingCallsFlow(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun joinMlsConference(conversationId: <Error class: unknown class>, onEpochChange: suspend (<Error class: unknown class>, <Error class: unknown class>) -> Unit): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun leaveMlsConference(conversationId: <Error class: unknown class>)
Link copied to clipboard
open suspend override fun leavePreviouslyJoinedMlsConferences()
Link copied to clipboard
open suspend override fun observeCurrentCall(conversationId: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>?>
Link copied to clipboard
open suspend override fun observeEpochInfo(conversationId: <Error class: unknown class>): Either<CoreFailure, <Error class: unknown class><<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun ongoingCallsFlow(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun outgoingCallsFlow(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun persistMissedCall(conversationId: <Error class: unknown class>)
Link copied to clipboard
open override fun updateCallMetadataProfileFlow(callMetadataProfile: <Error class: unknown class>)
Link copied to clipboard
open suspend override fun updateCallParticipants(conversationId: <Error class: unknown class>, participants: List<<Error class: unknown class>>)
Link copied to clipboard
open suspend override fun updateCallStatusById(conversationId: <Error class: unknown class>, status: <Error class: unknown class>)
Link copied to clipboard
open override fun updateIsCameraOnById(conversationId: <Error class: unknown class>, isCameraOn: Boolean)
Link copied to clipboard
open override fun updateIsCbrEnabled(isCbrEnabled: Boolean)
Link copied to clipboard
open override fun updateIsMutedById(conversationId: <Error class: unknown class>, isMuted: Boolean)
Link copied to clipboard
open suspend override fun updateOpenCallsToClosedStatus()
Link copied to clipboard
open override fun updateParticipantsActiveSpeaker(conversationId: <Error class: unknown class>, activeSpeakers: Map<<Error class: unknown class>, List<String>>)