OnRecordListener constructor

OnRecordListener({
  1. void onStart()?,
  2. void onStartRecordFail(
    1. String reason
    )?,
  3. void onRecording(
    1. int vad_status,
    2. int sound_intensity
    )?,
  4. void onTick(
    1. num millisUntilFinished,
    2. num percentUntilFinished
    )?,
  5. void onRecordEnd()?,
  6. void onScore(
    1. String result
    )?,
})

Implementation

OnRecordListener(
    {this.onStart,
    this.onStartRecordFail,
    this.onRecording,
    this.onTick,
    this.onRecordEnd,
    this.onScore});