From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- .../web/api/speechrecognitionresult/index.html | 74 +--------------------- 1 file changed, 1 insertion(+), 73 deletions(-) (limited to 'files/zh-cn/web/api/speechrecognitionresult/index.html') diff --git a/files/zh-cn/web/api/speechrecognitionresult/index.html b/files/zh-cn/web/api/speechrecognitionresult/index.html index c22e5d7da0..eda8c73c98 100644 --- a/files/zh-cn/web/api/speechrecognitionresult/index.html +++ b/files/zh-cn/web/api/speechrecognitionresult/index.html @@ -71,79 +71,7 @@ translation_of: Web/API/SpeechRecognitionResult

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(33)}} [1]{{CompatGeckoDesktop(44)}} [2]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChromeFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}[1]{{CompatUnknown}}2.5{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- - - -

Firefox OS permissions

- -

To use speech recognition in an app, you need to specify the following permissions in your manifest:

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

You also need a privileged app, so you need to include this as well:

- -
  "type": "privileged"
+{{Compat("api.SpeechRecognitionResult")}}

See also

-- cgit v1.2.3-54-g00ecf