We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b00a46 commit a044594Copy full SHA for a044594
README.md
@@ -80,8 +80,11 @@ onRecognizerResult(e) {
80
- `result`:当前识别结果,最常使用
81
- `isLast`:是否是最后一次识别,调用 `Recognizer.stop()` 后,`isLast` 值为 `true`,否则一直为 `false`
82
- `duration`:当前识别时间长度
83
-- `onRecognizerVolumeChanged(Int volume)`
84
-语音识别的音量大小,当识别的语音改变音量时会触发该事件
+- `onRecognizerVolumeChanged(JSON result)`
+语音识别的音量大小,当识别的语音改变音量时会触发该事件,`result` 为 `JSON` 类型,其值:
85
+
86
+ - `volume`: 当前音量大小
87
88
- `onRecognizerError(JSON error)`
89
语音识别出现错误,错误信息与讯飞文档保持一致,其值:
90
0 commit comments