cordova插件添加cordova-plugin-语音识别
安装版本:cordova-plugin-speechrecognition@1.2.0
运行此代码时出现此错误 错误:找不到:: SpeechRecognition :: isRecognitionAvailable的执行代理
@Inject()
export class MyService{
private elementArray: Array<ElementRef> = [];
public push(el: ElementRef) {
this.elementArray.push(el):
}
public getElements() {
return this.elementArray;
}
}