From 140478fab45bae394365910be83c602238dee415 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 9 Feb 2022 00:57:26 +0000 Subject: [CRON] sync translated content --- .../speechrecognition/audiostart_event/index.html | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 files/ja/conflicting/web/api/speechrecognition/audiostart_event/index.html (limited to 'files/ja/conflicting') diff --git a/files/ja/conflicting/web/api/speechrecognition/audiostart_event/index.html b/files/ja/conflicting/web/api/speechrecognition/audiostart_event/index.html new file mode 100644 index 0000000000..afe502a39f --- /dev/null +++ b/files/ja/conflicting/web/api/speechrecognition/audiostart_event/index.html @@ -0,0 +1,81 @@ +--- +title: SpeechRecognition.onaudiostart +slug: conflicting/Web/API/SpeechRecognition/audiostart_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onaudiostart + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onaudiostart +original_slug: Web/API/SpeechRecognition/onaudiostart +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onaudiostart プロパティは、ユーザーエージェントが音声を取得し終えた時に ({{event("audiostart")}}イベントが発生した時) 、実行されるイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onaudiostart = function() { ... };
+
+ +

+ +
var recognition = new SpeechRecognition();
+
+recognition.onaudiostart = function() {
+  console.log('音声認識は開始しました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onaudiostart', 'onaudiostart')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onaudiostart")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

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

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf