@@ -458,10 +458,6 @@ JSON 字符串,包含鉴权、连接和调试参数。参见[连接与控制
458458
459459是否保存本地日志。若为` true ` ,须在[ 连接与控制参数] ( https://help.aliyun.com/zh/model-studio/android-sdk-for-qwen-audio-realtime-service#connection-and-control-parameters ) 中通过` debug_path ` 指定路径,并可通过` max_log_file_size ` 设置文件大小。
460460
461- ** 返回值说明**
462-
463- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
464-
465461#### setParams
466462
467463以 JSON 格式设置[ 语音对话效果参数] ( https://help.aliyun.com/zh/model-studio/android-sdk-for-qwen-audio-realtime-service#conversation-parameters ) 。在[ startDialog] ( https://help.aliyun.com/zh/model-studio/android-sdk-for-qwen-audio-realtime-service#start-dialog ) 之前调用。
@@ -484,10 +480,6 @@ public synchronized int setParams(String params)
484480
485481[ 语音对话效果参数] ( https://help.aliyun.com/zh/model-studio/android-sdk-for-qwen-audio-realtime-service#conversation-parameters ) 。
486482
487- ** 返回值说明**
488-
489- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
490-
491483#### startDialog
492484
493485开始对话。
@@ -523,10 +515,6 @@ VAD模式。固定为`VadMode.TYPE_P2T`。
523515}
524516```
525517
526- ** 返回值说明**
527-
528- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
529-
530518#### stopDialog
531519
532520结束对话,调用该接口后,服务端将返回最终对话结果并结束任务。
@@ -535,9 +523,6 @@ VAD模式。固定为`VadMode.TYPE_P2T`。
535523```
536524public synchronized int stopDialog();
537525```
538- ** 返回值说明**
539-
540- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
541526
542527#### cancelDialog
543528
@@ -547,9 +532,6 @@ public synchronized int stopDialog();
547532```
548533public synchronized int cancelDialog();
549534```
550- ** 返回值说明**
551-
552- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
553535
554536#### updateAction
555537
@@ -743,9 +725,6 @@ string
743725 }
744726}
745727```
746- ** 返回值说明**
747-
748- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
749728
750729#### updateAudio
751730
@@ -782,10 +761,6 @@ public synchronized int updateAudio(byte[ ] data, int len,
782761
783762请忽略,无需关注此参数。
784763
785- ** 返回值说明**
786-
787- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
788-
789764#### updateRefAudio
790765
791766参数audio\_ update\_ manually设置为"true"时,且启用了端侧AEC回声消除能力,则需要用此接口推送播放器播放的音频数据作为参考信号。
@@ -822,10 +797,6 @@ public synchronized int updateRefAudio(byte[ ] data, int len,
822797
823798请忽略,无需关注此参数。
824799
825- ** 返回值说明**
826-
827- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
828-
829800#### release
830801
831802释放SDK所有内部资源。此方法调用后,SDK 实例将变为不可用状态,如需再次使用,必须重新调用[ initialize] ( https://help.aliyun.com/zh/model-studio/android-sdk-for-qwen-audio-realtime-service#initialize ) 进行初始化。
@@ -834,9 +805,6 @@ public synchronized int updateRefAudio(byte[ ] data, int len,
834805```
835806public synchronized int release();
836807```
837- ** 返回值说明**
838-
839- 返回错误码,参见[ 错误码查询] ( https://help.aliyun.com/zh/isi/support/error-codes ) 。
840808
841809#### GetVersion
842810
@@ -876,7 +844,7 @@ void onNuiEventCallback(NuiEvent event, final int resultCode, final int arg2, Kw
876844
877845` int `
878846
879- [ 错误码 ] ( https://help.aliyun.com/zh/isi/support/error-codes ) ,在出现EVENT \_ ASR \_ ERROR事件时有效 。
847+ 仅在出现 ` EVENT_ASR_ERROR ` 事件时有效 。
880848
881849` arg2 `
882850
0 commit comments