Share via


SpeechRecognizerUI class

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

Syntax

public sealed class SpeechRecognizerUI : IDisposable
Public NotInheritable Class SpeechRecognizerUI
    Implements IDisposable
public ref class SpeechRecognizerUI sealed : IClosable

Members

The SpeechRecognizerUI class has these types of members:

  • Constructors
  • Methods
  • Properties

Constructors

The SpeechRecognizerUI class has these constructors.

Constructor Description
SpeechRecognizerUI Initializes a new instance of the SpeechRecognizerUI class.

 

Methods

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

Method Description
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.

Property Access type Description

Recognizer

Read-only

Gets the speech recognizer associated with the SpeechRecognizerUI object.

Settings

Read-only

Gets 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

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

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]

Attributes

[MarshalingBehavior(Agile)]

[Version(0x06020000)]

See also

Object

IClosable