SpeechRecognizerUI class

Applies to Windows Phone only

Enables speech recognition with a default graphical user interface (GUI).

Syntax


public sealed class SpeechRecognizerUI : IDisposable

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The SpeechRecognizerUI class has these types of members:

Constructors

The SpeechRecognizerUI class has these constructors.

ConstructorDescription
SpeechRecognizerUI Initializes a new instance of the SpeechRecognizerUI class.

 

Methods

The SpeechRecognizerUI class has these methods. It also inherits methods from the Object class.

MethodDescription
Close Performs application-defined tasks associated with freeing, releasing, or resetting allocated resources.
RecognizeWithUIAsync Begins a speech recognition session for a SpeechRecognizerUI object.

 

Properties

The SpeechRecognizerUI class has these properties.

PropertyAccess typeDescription

Recognizer

Read-onlyGets the speech recognizer associated with the SpeechRecognizerUI object.

Settings

Read-onlyGets the settings of the speech recognizer graphical user interface (GUI).

 

Remarks

Only one SpeechRecognizerUI instance can actively perform speech recognition at a time. This means that if you’ve instantiated two instances of the SpeechRecognizerUI class and one of the instances is performing speech recognition, you should wait until the RecognizeWithUIAsync method completes before attempting speech recognition with the other instance.

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Speech.Recognition
Windows::Phone::Speech::Recognition [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]
ID_CAP_MICROPHONE [Windows Phone]
ID_CAP_NETWORKING [Windows Phone]

See also

Object
IClosable

 

 

Community Additions

ADD
Show:
© 2014 Microsoft