// *********************************************************************//
// Interface: ISpeechRecoContext
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {580AA49D-7E1E-4809-B8E2-57DA806104B8}
// *********************************************************************//
ISpeechRecoContext =
interface(IDispatch)
['
{580AA49D-7E1E-4809-B8E2-57DA806104B8}']
function Get_Recognizer: ISpeechRecognizer;
safecall;
function Get_AudioInputInterferenceStatus: SpeechInterference;
safecall;
function Get_RequestedUIType: WideString;
safecall;
procedure _Set_Voice(
const Voice: ISpeechVoice);
safecall;
function Get_Voice: ISpeechVoice;
safecall;
procedure Set_AllowVoiceFormatMatchingOnNextSet(pAllow: WordBool);
safecall;
function Get_AllowVoiceFormatMatchingOnNextSet: WordBool;
safecall;
procedure Set_VoicePurgeEvent(EventInterest: SpeechRecoEvents);
safecall;
function Get_VoicePurgeEvent: SpeechRecoEvents;
safecall;
procedure Set_EventInterests(EventInterest: SpeechRecoEvents);
safecall;
function Get_EventInterests: SpeechRecoEvents;
safecall;
procedure Set_CmdMaxAlternates(MaxAlternates: Integer);
safecall;
function Get_CmdMaxAlternates: Integer;
safecall;
procedure Set_State(State: SpeechRecoContextState);
safecall;
function Get_State: SpeechRecoContextState;
safecall;
procedure Set_RetainedAudio(Option: SpeechRetainedAudioOptions);
safecall;
function Get_RetainedAudio: SpeechRetainedAudioOptions;
safecall;
procedure _Set_RetainedAudioFormat(
const Format: ISpeechAudioFormat);
safecall;
function Get_RetainedAudioFormat: ISpeechAudioFormat;
safecall;
procedure Pause;
safecall;
procedure Resume;
safecall;
function CreateGrammar(GrammarId: OleVariant): ISpeechRecoGrammar;
safecall;
function CreateResultFromMemory(
const ResultBlock: OleVariant): ISpeechRecoResult;
safecall;
procedure Bookmark(Options: SpeechBookmarkOptions; StreamPos: OleVariant; BookmarkId: OleVariant);
safecall;
procedure SetAdaptationData(
const AdaptationString: WideString);
safecall;
property Recognizer: ISpeechRecognizer
read Get_Recognizer;
property AudioInputInterferenceStatus: SpeechInterference
read Get_AudioInputInterferenceStatus;
property RequestedUIType: WideString
read Get_RequestedUIType;
property Voice: ISpeechVoice
read Get_Voice
write _Set_Voice;
property AllowVoiceFormatMatchingOnNextSet: WordBool
read Get_AllowVoiceFormatMatchingOnNextSet
write Set_AllowVoiceFormatMatchingOnNextSet;
property VoicePurgeEvent: SpeechRecoEvents
read Get_VoicePurgeEvent
write Set_VoicePurgeEvent;
property EventInterests: SpeechRecoEvents
read Get_EventInterests
write Set_EventInterests;
property CmdMaxAlternates: Integer
read Get_CmdMaxAlternates
write Set_CmdMaxAlternates;
property State: SpeechRecoContextState
read Get_State
write Set_State;
property RetainedAudio: SpeechRetainedAudioOptions
read Get_RetainedAudio
write Set_RetainedAudio;
property RetainedAudioFormat: ISpeechAudioFormat
read Get_RetainedAudioFormat
write _Set_RetainedAudioFormat;
end;