Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The serviceURI
property of the SpeechRecognition
interface specifies the location of the speech recognition service used by the current SpeechRecognition
to handle the actual recognition. The default is the user agent's default speech service.
var myServiceURI = mySpeechRecognition.serviceURI; mySpeechRecognition.serviceURI = 'path/to/my/service/';
A DOMString
representing the URI of the speech recognition service.
var recognition = new SpeechRecognition(); recognition.serviceURI = 'http://www.example.com'; ...
No specification data found for api.SpeechRecognition.serviceURI
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
serviceURI |
33 |
79 |
No |
No |
No |
No |
4.4.3 |
33 |
No |
No |
No |
2.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/serviceURI