onCallReceived property
void Function(String callId, String callerId, List<String> calleeIdList, TUICallMediaType mediaType, CallObserverExtraInfo info)?
onCallReceived
final
Callback for receiving a call request (received only by the callee)
callId Unique identifier for this call
callerId Caller
calleeIdList List of callees
mediaType Call type,eg: audio、video
info Callback extension information
Implementation
final void Function(String callId, String callerId, List<String> calleeIdList,
TUICallMediaType mediaType, CallObserverExtraInfo info)? onCallReceived;