7998是离线识别没有得到结果,但是我加这几句了呀:
JSONArray usercommand = new JSONArray().put("科瑞").put("我回来了");
slotData.put("usercommand", usercommand);
recognizerIntent.putExtra("slot-data", slotData.toString());
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
离线识别需要同时设置 name song 以及 singer等slot,可以参考demo中的ApiActivity