AiuiParams constructor

AiuiParams({
  1. required String appId,
  2. Map<String, String?>? userParams,
  3. GlobalParams? global,
  4. InteractParams? interact,
  5. VadParams? vad,
  6. IatParams? iat,
  7. AudioParams? audioParams,
  8. RecorderParams? recorder,
  9. IvwParams? ivw,
  10. SpeechParams? speech,
  11. TtsParams? tts,
  12. LogParams? log,
})

新建AIUI参数

Implementation

AiuiParams({
  required this.appId,
  this.userParams,
  GlobalParams? global,
  InteractParams? interact,
  VadParams? vad,
  IatParams? iat,
  AudioParams? audioParams,
  RecorderParams? recorder,
  IvwParams? ivw,
  SpeechParams? speech,
  TtsParams? tts,
  LogParams? log,
})  : global = global ?? GlobalParams(),
      interact = interact ?? InteractParams(),
      vad = vad ?? VadParams(),
      iat = iat ?? IatAudioParams(),
      audioParams = audioParams ?? AudioParams(),
      recorder = recorder ?? RecorderParams(),
      ivw = ivw ?? IvwParams(),
      speech = speech ?? SpeechParams(),
      tts = tts ?? TtsParams(),
      log = log ?? LogParams();