Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var oVFP;
function setref(dummy,oObj) {
oVFP = oObj;
}
function receiveMessage(event) {
if (event != null && event.data != null && event.data != "") {
let serverresponse = event.data;
oVFP.property = JSON.stringify(serverresponse, undefined, 4);
}
}
}
oBrowser.Document.Script.setref(0,oVFPobject) && where oVFPObject is an instance of a class with a property_assign method
MDN Web Docs said:Note: On some browsers, like Chrome, using Speech Recognition on a web page involves a server-based recognition engine. Your audio is sent to a web service for recognition processing, so it won't work offline.