onCallEnd property

void Function(String callId, NECallType callType, CallEndReason reason, String userId, double totalTime, CallObserverExtraInfo info)? onCallEnd
final

Call end(received by both caller and callee)

Parameters:

  • callId: Unique identifier for this call
  • callType: Call type,eg: audio、video
  • reason: Call end reason.
  • userId: Which user ended the call
  • totalTime: Total time of the call
  • info: Callback extension information

Implementation

final void Function(String callId, NECallType callType, CallEndReason reason,
    String userId, double totalTime, CallObserverExtraInfo info)? onCallEnd;