call_ui/src/incoming_call/bloc/bloc library
BLoC for incoming call screen
Classes
- AcceptCall
- Accept the incoming call Triggers CometChat.acceptCall and navigates to OngoingCall screen on success
- CallCancelled
- Call was cancelled by the caller Dismisses the overlay automatically
- IncomingCallBloc
- BLoC for managing incoming call screen state and actions
- IncomingCallEvent
- Base class for all incoming call events Uses Equatable for proper event comparison in BLoC
- IncomingCallState
- State class for IncomingCallBloc Uses Equatable for proper state comparison in BLoC
- RejectCall
- Reject the incoming call Triggers CometChatUIKitCalls.rejectCall and dismisses the overlay
Enums
- IncomingCallStatus
- Status enum for incoming call screen