onCallEnd property

void Function(TUIRoomId roomId, TUICallMediaType callMediaType, TUICallRole callRole, double totalTime)? onCallEnd
final

Call end(received by both caller and callee)

roomId Current call room ID callMediaType Call type,eg: audio、video callRole Call role totalTime Total time of the call

Implementation

final void Function(TUIRoomId roomId, TUICallMediaType callMediaType,
    TUICallRole callRole, double totalTime)? onCallEnd;