SpeechRecognizerUIOptions クラス

定義

SpeechRecognizer.RecognizeWithUIAsync メソッドの UI 設定を指定します。

public ref class SpeechRecognizerUIOptions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SpeechRecognizerUIOptions final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SpeechRecognizerUIOptions
Public NotInheritable Class SpeechRecognizerUIOptions
継承
Object Platform::Object IInspectable SpeechRecognizerUIOptions
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

アプリは 、SpeechRecognizer.UIOptions プロパティを使用してこのオブジェクトを取得します。

プロパティ

AudiblePrompt

リッスン画面に表示される見出しテキスト 取得または設定します。 既定値は "Listening..."です。

ExampleText

リッスン画面に表示されるテキストの例 取得または設定します。

IsReadBackEnabled

認識されたテキストが [音声の読み上げ ] 画面で ユーザーに読み上げられるかどうかを取得または設定します。

ShowConfirmation

音声認識が完了した後に、音声で 読み 上げ画面がユーザーに表示されるかどうかを取得または設定します。

適用対象

こちらもご覧ください