SpeechRecognizerUIOptions Class

Definition

Specifies the UI settings for the SpeechRecognizer.RecognizeWithUIAsync method.

public ref class SpeechRecognizerUIOptions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SpeechRecognizerUIOptions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
class SpeechRecognizerUIOptions sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SpeechRecognizerUIOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
public sealed class SpeechRecognizerUIOptions
Public NotInheritable Class SpeechRecognizerUIOptions
Inheritance
SpeechRecognizerUIOptions
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

An app retrieves this object through the SpeechRecognizer.UIOptions property.

Properties

AudiblePrompt

Gets or sets the heading text that is displayed on the Listening screen. The default is "Listening...".

ExampleText

Gets or sets the example text shown on the Listening screen.

IsReadBackEnabled

Gets or sets whether the recognized text is spoken back to the user on the Heard you say screen.

ShowConfirmation

Gets or sets whether a Heard you say screen is shown to the user after speech recognition is completed.

Applies to

See also