Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
DtmfRecognitionEngine Members
Include Protected Members
Include Inherited Members
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. |
Top
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. |
Top
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. |
Top
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. |
Top