TUICallObserver constructor
const
TUICallObserver({
- void onError()?,
- void onCallReceived(
- String callerId,
- List<
String> calleeIdList, - String groupId,
- TUICallMediaType callMediaType,
- void onCallCancelled(
- String callerId
- void onCallBegin(
- TUIRoomId roomId,
- TUICallMediaType callMediaType,
- TUICallRole callRole
- void onCallEnd(
- TUIRoomId roomId,
- TUICallMediaType callMediaType,
- TUICallRole callRole,
- double totalTime,
- void onCallMediaTypeChanged(
- TUICallMediaType oldCallMediaType,
- TUICallMediaType newCallMediaType
- void onUserReject(
- String userId
- void onUserNoResponse(
- String userId
- void onUserLineBusy(
- String onUserLineBusy
- void onUserJoin(
- String userId
- void onUserLeave(
- String userId
- void onUserVideoAvailable()?,
- void onUserAudioAvailable()?,
- void onUserVoiceVolumeChanged()?,
- void onUserNetworkQualityChanged(
- List<
TUINetworkQualityInfo> networkQualityList
- List<
- void onKickedOffline()?,
- void onUserSigExpired()?,
Implementation
const TUICallObserver({
this.onError,
this.onCallReceived,
this.onCallCancelled,
this.onCallBegin,
this.onCallEnd,
this.onCallMediaTypeChanged,
this.onUserReject,
this.onUserNoResponse,
this.onUserLineBusy,
this.onUserJoin,
this.onUserLeave,
this.onUserVideoAvailable,
this.onUserAudioAvailable,
this.onUserVoiceVolumeChanged,
this.onUserNetworkQualityChanged,
this.onKickedOffline,
this.onUserSigExpired,
});