call_ui/src/call_operations/call_operations library

Barrel export for call_operations shared clean architecture module.

Classes

AcceptCallUseCase
Use case for accepting an incoming call.
CallOperationsDataSource
Abstract interface for call operations data source.
CallOperationsDataSourceImpl
Implementation of CallOperationsDataSource using CometChat SDK.
CallOperationsRepository
Shared repository interface for call operations used across call_buttons, incoming_call, outgoing_call, and ongoing_call.
CallOperationsRepositoryImpl
Implementation of CallOperationsRepository. Wraps datasource calls in Result for consistent error handling.
CallOperationsServiceLocator
Shared service locator for call operations used by call_buttons, incoming_call, outgoing_call, and ongoing_call.
EndCallUseCase
Use case for ending an active call via CometChat SDK.
EndSessionUseCase
Use case for ending the current WebRTC session.
GenerateCallTokenUseCase
Use case for generating a call token to join a session.
GetCallLoggedInUserUseCase
Use case for getting the currently logged-in user.
GetUserAuthTokenUseCase
Use case for getting the user auth token.
InitiateDirectCallUseCase
Use case for initiating a direct call to a user.
RejectCallUseCase
Use case for rejecting or cancelling a call.
SendMeetingMessageUseCase
Use case for sending a meeting custom message.
StartSessionUseCase
Use case for starting a call session with a session ID and settings. The SDK generates the call token internally.

Exceptions / Errors

CallOperationsException
Exception thrown when call operations fail.