onCallReceived property

void Function(String callerId, List<String> calleeIdList, String groupId, TUICallMediaType callMediaType)? onCallReceived
final

Callback for receiving a call request (received only by the callee)

callerId Caller calleeIdList List of callees groupId GroupID callMediaType Call type,eg: audio、video

Implementation

final void Function(String callerId, List<String> calleeIdList,
    String groupId, TUICallMediaType callMediaType)? onCallReceived;