NECallEngineDelegate constructor

const NECallEngineDelegate({
  1. void onReceiveInvited(
    1. NEInviteInfo info
    )?,
  2. void onCallEnd(
    1. NECallEndInfo info
    )?,
  3. void onCallConnected(
    1. NECallInfo info
    )?,
  4. void onLCKAccept(
    1. NELCKAcceptResult result
    )?,
  5. void onLCKHangup(
    1. NELCKHangupResult result
    )?,
  6. void onCallTypeChange(
    1. NECallTypeChangeInfo info
    )?,
  7. void onVideoAvailable(
    1. bool available,
    2. String userID
    )?,
  8. void onVideoMuted(
    1. bool muted,
    2. String userID
    )?,
  9. void onAudioMuted(
    1. bool muted,
    2. String userID
    )?,
  10. void onLocalAudioMuted(
    1. bool muted
    )?,
  11. void onRtcInitEnd()?,
  12. void onNERtcEngineVirtualBackgroundSourceEnabled(
    1. bool enabled,
    2. int reason
    )?,
  13. void onAsrCaptionStateChanged(
    1. int asrState,
    2. int code,
    3. String message
    )?,
  14. void onAsrCaptionResult(
    1. List<NEAsrCaptionResult?> result
    )?,
})

Implementation

const NECallEngineDelegate({
  this.onReceiveInvited,
  this.onCallEnd,
  this.onCallConnected,
  this.onLCKAccept,
  this.onLCKHangup,
  this.onCallTypeChange,
  this.onVideoAvailable,
  this.onVideoMuted,
  this.onAudioMuted,
  this.onLocalAudioMuted,
  this.onRtcInitEnd,
  this.onNERtcEngineVirtualBackgroundSourceEnabled,
  this.onAsrCaptionStateChanged,
  this.onAsrCaptionResult,
});