NEGroupMediaDelegate constructor

const NEGroupMediaDelegate({
  1. void onUserAudioStart(
    1. int uid
    )?,
  2. void onUserAudioStop(
    1. int uid
    )?,
  3. void onUserAudioMute(
    1. int uid,
    2. bool muted
    )?,
  4. void onUserVideoStart(
    1. int uid,
    2. int maxProfile
    )?,
  5. void onUserVideoStop(
    1. int uid
    )?,
  6. void onUserVideoMute(
    1. int uid,
    2. bool muted
    )?,
  7. void onRemoteAudioVolumeIndication(
    1. List<NEAudioVolumeInfo> volumes,
    2. int totalVolume
    )?,
  8. void onDisconnect(
    1. int reason
    )?,
  9. void onError(
    1. int code
    )?,
})

构造函数

Implementation

const NEGroupMediaDelegate({
  this.onUserAudioStart,
  this.onUserAudioStop,
  this.onUserAudioMute,
  this.onUserVideoStart,
  this.onUserVideoStop,
  this.onUserVideoMute,
  this.onRemoteAudioVolumeIndication,
  this.onDisconnect,
  this.onError,
});