StartCallUseCase

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.

Constructors

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

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, callType: <Error class: unknown class> = CallType.AUDIO): <Error class: unknown class>