我正在寻找一种方法来显示使用语音识别所说的文本 . 我使用过cordova-plugin-speechrecognition . 我可以使用startListening功能点击麦克风和speack . 但有没有办法在屏幕上显示语音文字 . 参考:https://ourcodeworld.com/articles/read/401/how-to-use-the-speech-recognition-api-in-cordova
我正在寻找一种方法来显示使用语音识别所说的文本 . 我使用过cordova-plugin-speechrecognition . 我可以使用startListening功能点击麦克风和speack . 但有没有办法在屏幕上显示语音文字 . 参考:https://ourcodeworld.com/articles/read/401/how-to-use-the-speech-recognition-api-in-cordova
1 回答
您可以将文本放在html文本标记中,在我的示例中为id sstBtn