TUICallObserver constructor
const
TUICallObserver({
- void onError()?,
- void onUserInviting(
- String userId
- void onCallReceived(
- String callId,
- String callerId,
- List<
String> calleeIdList, - TUICallMediaType mediaType,
- CallObserverExtraInfo info,
- void onCallNotConnected(
- String callId,
- TUICallMediaType mediaType,
- CallEndReason reason,
- String userId,
- CallObserverExtraInfo info,
- void onCallBegin(
- String callId,
- TUICallMediaType mediaType,
- CallObserverExtraInfo info
- void onCallEnd(
- String callId,
- TUICallMediaType mediaType,
- CallEndReason reason,
- String userId,
- double totalTime,
- CallObserverExtraInfo info,
- 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.onUserInviting,
this.onCallReceived,
this.onCallNotConnected,
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,
});