@capgo/capacitor-speech-recognition
Capacitor plugin for comprehensive on-device speech recognition with live partial results.
Capacitor plugin for comprehensive on-device speech recognition with live partial results.
概要のセクションです。
Capgoプラグイン:実行中のパーシャル結果を提供する、デバイス上の総合的な音声認識available-isOnDeviceRecognitionAvailable-start-stop-
Public API
API| Method | Description |
|---|---|
available | Checks whether the native speech recognition service is usable on the current device. |
isOnDeviceRecognitionAvailable | Checks whether the platform’s newer on-device recognition path is available for the selected locale. |
start | Begins capturing audio and transcribing speech. |
stop | Stops listening and tears down native resources. |
forceStop | __CAPGO_KEEP_0__を停止します。 |
getLastPartialResult | __CAPGO_KEEP_0__の最後のキャッシュされた部分的なトランスクリプション結果を取得します。 |
setPTTState | __CAPGO_KEEP_0__の現在のプッシュ・トゥ・トークのボタン状態を更新します。 |
getSupportedLanguages | __CAPGO_KEEP_0__が使用する下位レベルの認識器がサポートするロケールを取得します。 |
isListening | __CAPGO_KEEP_0__が音声の入力を待っている状態かどうかを返します。 |
checkPermissions | __CAPGO_KEEP_0__の現在の許可状態を取得します。 |
requestPermissions | __CAPGO_KEEP_0__のマイク + 音声認識の許可を要求します。 |
getPluginVersion | __CAPGO_KEEP_0__に組み込まれているネイティブ プラグインのバージョンを返します。 |
addListener | __CAPGO_KEEP_0__のセグメント化されたセッションの完了イベントをリスンします (Android 限定)。 |
addListener | __CAPGO_KEEP_0__のセグメント化された認識結果をリスンします (Android 限定)。 |
addListener | __CAPGO_KEEP_0__が有効になっている間は、部分的なトランスクリプションの更新をリスンします。 partialResults __CAPGO_KEEP_0__が有効になっている間は、部分的なトランスクリプションの更新をリスンします。 |
addListener | nativeリスニングの状態の変更を待つ |
addListener | 認識エラーの変更を待つ |
addListener | セッションの準備が整ったときにリスナーを待つ |
removeAllListeners | 登録済みのリスナーをすべて削除する |
真実の源
セクション「真実の源」このリファレンスは src/definitions.ts in capacitor-speech-recognition.
@capgo/capacitor-speech-recognitionから続ける
セクション「@capgo/capacitor-speech-recognitionから続ける」あなたが使用している場合 @capgo/capacitor-speech-recognition DashboardとAPIの計画と運用の連携 Using @capgo/capacitor-speech-recognition Capacitorのネイティブ機能の使用に@capgo/capacitor-speech-recognition API Overview for the implementation detail in API Overview, 導入 実装詳細の導入 API Keys for the implementation detail in API Keys, and デバイス 実装詳細のデバイス.