Trait windows::Win32::Media::Speech::ISpeechRecoContext_Impl
pub trait ISpeechRecoContext_Impl: Sized + IDispatch_Impl {
Show 25 methods
// Required methods
fn Recognizer(&self) -> Result<ISpeechRecognizer>;
fn AudioInputInterferenceStatus(&self) -> Result<SpeechInterference>;
fn RequestedUIType(&self) -> Result<BSTR>;
fn putref_Voice(&self, voice: Option<&ISpeechVoice>) -> Result<()>;
fn Voice(&self) -> Result<ISpeechVoice>;
fn SetAllowVoiceFormatMatchingOnNextSet(
&self,
allow: VARIANT_BOOL,
) -> Result<()>;
fn AllowVoiceFormatMatchingOnNextSet(&self) -> Result<VARIANT_BOOL>;
fn SetVoicePurgeEvent(&self, eventinterest: SpeechRecoEvents) -> Result<()>;
fn VoicePurgeEvent(&self) -> Result<SpeechRecoEvents>;
fn SetEventInterests(&self, eventinterest: SpeechRecoEvents) -> Result<()>;
fn EventInterests(&self) -> Result<SpeechRecoEvents>;
fn SetCmdMaxAlternates(&self, maxalternates: i32) -> Result<()>;
fn CmdMaxAlternates(&self) -> Result<i32>;
fn SetState(&self, state: SpeechRecoContextState) -> Result<()>;
fn State(&self) -> Result<SpeechRecoContextState>;
fn SetRetainedAudio(&self, option: SpeechRetainedAudioOptions) -> Result<()>;
fn RetainedAudio(&self) -> Result<SpeechRetainedAudioOptions>;
fn putref_RetainedAudioFormat(
&self,
format: Option<&ISpeechAudioFormat>,
) -> Result<()>;
fn RetainedAudioFormat(&self) -> Result<ISpeechAudioFormat>;
fn Pause(&self) -> Result<()>;
fn Resume(&self) -> Result<()>;
fn CreateGrammar(&self, grammarid: &VARIANT) -> Result<ISpeechRecoGrammar>;
fn CreateResultFromMemory(
&self,
resultblock: *const VARIANT,
) -> Result<ISpeechRecoResult>;
fn Bookmark(
&self,
options: SpeechBookmarkOptions,
streampos: &VARIANT,
bookmarkid: &VARIANT,
) -> Result<()>;
fn SetAdaptationData(&self, adaptationstring: &BSTR) -> Result<()>;
}
Required Methods§
fn Recognizer(&self) -> Result<ISpeechRecognizer>
fn AudioInputInterferenceStatus(&self) -> Result<SpeechInterference>
fn RequestedUIType(&self) -> Result<BSTR>
fn putref_Voice(&self, voice: Option<&ISpeechVoice>) -> Result<()>
fn Voice(&self) -> Result<ISpeechVoice>
fn SetAllowVoiceFormatMatchingOnNextSet( &self, allow: VARIANT_BOOL, ) -> Result<()>
fn AllowVoiceFormatMatchingOnNextSet(&self) -> Result<VARIANT_BOOL>
fn SetVoicePurgeEvent(&self, eventinterest: SpeechRecoEvents) -> Result<()>
fn VoicePurgeEvent(&self) -> Result<SpeechRecoEvents>
fn SetEventInterests(&self, eventinterest: SpeechRecoEvents) -> Result<()>
fn EventInterests(&self) -> Result<SpeechRecoEvents>
fn SetCmdMaxAlternates(&self, maxalternates: i32) -> Result<()>
fn CmdMaxAlternates(&self) -> Result<i32>
fn SetState(&self, state: SpeechRecoContextState) -> Result<()>
fn State(&self) -> Result<SpeechRecoContextState>
fn SetRetainedAudio(&self, option: SpeechRetainedAudioOptions) -> Result<()>
fn RetainedAudio(&self) -> Result<SpeechRetainedAudioOptions>
fn putref_RetainedAudioFormat( &self, format: Option<&ISpeechAudioFormat>, ) -> Result<()>
fn RetainedAudioFormat(&self) -> Result<ISpeechAudioFormat>
fn Pause(&self) -> Result<()>
fn Resume(&self) -> Result<()>
fn CreateGrammar(&self, grammarid: &VARIANT) -> Result<ISpeechRecoGrammar>
fn CreateResultFromMemory( &self, resultblock: *const VARIANT, ) -> Result<ISpeechRecoResult>
fn Bookmark( &self, options: SpeechBookmarkOptions, streampos: &VARIANT, bookmarkid: &VARIANT, ) -> Result<()>
fn SetAdaptationData(&self, adaptationstring: &BSTR) -> Result<()>
Object Safety§
This trait is not object safe.