private final int EN_US_ID = 206;
VoiceGuidanceOptions voiceGuidanceOptions = navigationManager.getVoiceGuidanceOptions();
voiceGuidanceOptions.setTtsOutputFormat(NavigationManager.TtsOutputFormat.NUANCE);
voiceGuidanceOptions.setVoiceSkin(VoiceCatalog.getInstance().getLocalVoiceSkin(EN_US_ID));它说反斜杠tn大多数时候,即使我已经检查了NewInstructionEventListener,我不明白哪里发生了什么我不需要(反斜杠tn)在语音指令中,我应该做什么,请我卡住了,需要帮助
发布于 2019-09-27 15:02:30
使用EN_US_ID作为"206“有什么原因吗?请尝试使用以下代码片段,\tn可能缺少语音包
if (!voiceCatalog.isLocalVoiceSkin(id)) {
voiceCatalog.downloadVoice(id,new OnDownloadDoneListener() { @Override public void onDownloadDone(Error errorCode) { if (errorCode == Error.NONE){ //语音皮肤下载成功});}
https://stackoverflow.com/questions/58119004
复制相似问题