DtmfRecognitionEngine Members

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Provides access to DTMF recognition services.

The DtmfRecognitionEngine type exposes the following members.

Constructors

  NameDescription
Public methodDtmfRecognitionEngineInitializes a new instance of the DtmfRecognitionEngine class.
Top

Properties

  NameDescription
Public propertyEndSilenceTimeoutAmbiguousGets or sets the interval of time to wait after an ambiguous recognition.
Public propertyGrammarsGets a list of Grammar objects loaded into the current instance of DtmfRecognitionEngine.
Public propertyInitialSilenceTimeoutGets or sets the interval of silence that can precede DTMF input before recognition fails.
Public propertyInterToneTimeoutGets or sets the time interval to wait between tones before terminating recognition.
Top

Methods

  NameDescription
Public methodAddTone(Byte)Adds a tone to the buffer for recognition against the loaded Grammar objects.
Public methodAddTone(DtmfTone)Adds a tone to the buffer for recognition against the loaded Grammar objects.
Public methodDisposeDisposes the DtmfRecognitionEngine object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFlushToneBufferClears the tone buffer.
Public methodGetHashCode (Inherited from Object.)
Public methodGetTerminationTonesGets the collection of DTMF tones that terminate recognition.
Public methodGetType (Inherited from Object.)
Public methodLoadGrammarSynchronously loads the specified Grammar object into the DtmfRecognitionEngine instance.
Public methodLoadGrammarAsyncAsynchronously loads the specified Grammar object into the DtmfRecognitionEngine instance.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRecognizeAsync()()()()Begins asynchronous recognition.
Public methodRecognizeAsync(Boolean)Begins asynchronous recognition.
Public methodRecognizeAsyncCancelTerminates asynchronous recognition without waiting for the current recognition operation to complete.
Public methodSetTerminationToneSets a DTMF tone that will terminate DTMF recognition immediately.
Public methodSetTerminationTonesSets a collection of DTMF tones that will terminate DTMF recognition immediately.
Public methodToString (Inherited from Object.)
Public methodUnloadAllGrammarsUnloads all Grammar objects from the DtmfRecognitionEngine instance.
Public methodUnloadGrammarUnloads the specified Grammar object from the DtmfRecognitionEngine instance.
Top

Events

  NameDescription
Public eventDtmfHypothesizedRaised when DTMF input has been detected and recognized.
Public eventDtmfRecognitionRejectedRaised when DTMF input has been detected, but cannot be recognized from current grammars.
Public eventDtmfRecognizedRaised when DTMF input has been detected and recognized.
Public eventLoadGrammarCompletedRaised on completion of the asynchronous load of a Grammar object.
Public eventRecognizeCompletedRaised on completion of an asynchronous recognition.
Top

See Also