customCallScreenBuilder property
Optional custom call screen builder.
If null, the default CometChatDefaultCallScreen is used with
pre-wired Accept / Decline buttons that route to onCallAccepted
and onCallDeclined.
When provided, the plugin delegates full control to the custom screen — the consumer is responsible for accepting / rejecting the call, cancelling the call notification, and popping the screen. The onCallAccepted / onCallDeclined callbacks are not invoked when a custom screen is used.
Implementation
final CometChatCallScreenBuilder? customCallScreenBuilder;