DtmfRecognitionEngine Members
From Microsoft Speech Platform SDK 11
| DtmfRecognitionEngine Members |
| DtmfRecognitionEngine Class Constructors Methods Properties Events See Also Send Feedback |
Provides access to DTMF recognition services.
The DtmfRecognitionEngine type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DtmfRecognitionEngine | Initializes a new instance of the DtmfRecognitionEngine class. |
Properties
| Name | Description | |
|---|---|---|
| EndSilenceTimeoutAmbiguous | Gets or sets the interval of time to wait after an ambiguous recognition. | |
| Grammars | Gets a list of Grammar objects loaded into the current instance of DtmfRecognitionEngine. | |
| InitialSilenceTimeout | Gets or sets the interval of silence that can precede DTMF input before recognition fails. | |
| InterToneTimeout | Gets or sets the time interval to wait between tones before terminating recognition. |
Methods
| Name | Description | |
|---|---|---|
| AddTone(Byte) | Adds a tone to the buffer for recognition against the loaded Grammar objects. | |
| AddTone(DtmfTone) | Adds a tone to the buffer for recognition against the loaded Grammar objects. | |
| Dispose | Disposes the DtmfRecognitionEngine object. | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| FlushToneBuffer | Clears the tone buffer. | |
| GetHashCode | (Inherited from Object.) | |
| GetTerminationTones | Gets the collection of DTMF tones that terminate recognition. | |
| GetType | (Inherited from Object.) | |
| LoadGrammar | Synchronously loads the specified Grammar object into the DtmfRecognitionEngine instance. | |
| LoadGrammarAsync | Asynchronously loads the specified Grammar object into the DtmfRecognitionEngine instance. | |
| MemberwiseClone | (Inherited from Object.) | |
| RecognizeAsync()()()() | Begins asynchronous recognition. | |
| RecognizeAsync(Boolean) | Begins asynchronous recognition. | |
| RecognizeAsyncCancel | Terminates asynchronous recognition without waiting for the current recognition operation to complete. | |
| SetTerminationTone | Sets a DTMF tone that will terminate DTMF recognition immediately. | |
| SetTerminationTones | Sets a collection of DTMF tones that will terminate DTMF recognition immediately. | |
| ToString | (Inherited from Object.) | |
| UnloadAllGrammars | Unloads all Grammar objects from the DtmfRecognitionEngine instance. | |
| UnloadGrammar | Unloads the specified Grammar object from the DtmfRecognitionEngine instance. |
Events
| Name | Description | |
|---|---|---|
| DtmfHypothesized | Raised when DTMF input has been detected and recognized. | |
| DtmfRecognitionRejected | Raised when DTMF input has been detected, but cannot be recognized from current grammars. | |
| DtmfRecognized | Raised when DTMF input has been detected and recognized. | |
| LoadGrammarCompleted | Raised on completion of the asynchronous load of a Grammar object. | |
| RecognizeCompleted | Raised on completion of an asynchronous recognition. |