classafFancomSapi::ISpeechRecoResult
sys::Obj afFancomSapi::ISpeechRecoResult
Returns information about a recognition attempt.
http://msdn.microsoft.com/en-us/library/ee125511%28v=vs.85%29.aspx
@clsid {ED2879CF-CED9-4EE6-A534-DE0191D5468D}
- alternates
ISpeechPhraseAlternates? alternates(Int? requestCount, Int? startElement := (Int?)0, Int? elements := (Int?)-1)
Returns a list of alternative words.
- audio
SpMemoryStream? audio(Int? startElement := (Int?)0, Int? elements := (Int?)-1)
Creates an audio stream from the audio data in the result object.
- audioFormat
SpAudioFormat? audioFormat
Gets or sets the audio stream format.
- discardResultInfo
Void discardResultInfo(SpeechDiscardType? valueTypes)
Discards the requested data from a phrase object.
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- phraseInfo
ISpeechPhraseInfo? phraseInfo { private set }
Returns an ISpeechPhraseInfo structure containing detailed information about the last recognized phrase.
- recoContext
ISpeechRecoContext? recoContext { private set }
Retrieves the current ISpeechRecoContext for the recognizer.
- saveToMemory
Variant saveToMemory()
Saves the phrase portion of the recognition result to memory.
- speakAudio
Int? speakAudio(Int? startElement := (Int?)0, Int? elements := (Int?)-1, SpeechVoiceSpeakFlags? flags := SpeechVoiceSpeakFlags.SVSFDefault)
Plays the audio sequence containing the recognized phrase.
Returns the stream number.
- times
ISpeechRecoResultTimes? times { private set }
Retrieves the time information associated with the result.
- toISpeechRecoResult2
ISpeechRecoResult2 toISpeechRecoResult2()
- toISpeechXMLRecoResult
ISpeechXMLRecoResult toISpeechXMLRecoResult()