Trait windows::Win32::Media::Speech::ISpeechRecoResult_Impl

pub trait ISpeechRecoResult_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn RecoContext(&self) -> Result<ISpeechRecoContext>;
    fn Times(&self) -> Result<ISpeechRecoResultTimes>;
    fn putref_AudioFormat(
        &self,
        format: Option<&ISpeechAudioFormat>,
    ) -> Result<()>;
    fn AudioFormat(&self) -> Result<ISpeechAudioFormat>;
    fn PhraseInfo(&self) -> Result<ISpeechPhraseInfo>;
    fn Alternates(
        &self,
        requestcount: i32,
        startelement: i32,
        elements: i32,
    ) -> Result<ISpeechPhraseAlternates>;
    fn Audio(
        &self,
        startelement: i32,
        elements: i32,
    ) -> Result<ISpeechMemoryStream>;
    fn SpeakAudio(
        &self,
        startelement: i32,
        elements: i32,
        flags: SpeechVoiceSpeakFlags,
    ) -> Result<i32>;
    fn SaveToMemory(&self) -> Result<VARIANT>;
    fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> Result<()>;
}

Required Methods§

fn RecoContext(&self) -> Result<ISpeechRecoContext>

fn Times(&self) -> Result<ISpeechRecoResultTimes>

fn putref_AudioFormat(&self, format: Option<&ISpeechAudioFormat>) -> Result<()>

fn AudioFormat(&self) -> Result<ISpeechAudioFormat>

fn PhraseInfo(&self) -> Result<ISpeechPhraseInfo>

fn Alternates( &self, requestcount: i32, startelement: i32, elements: i32, ) -> Result<ISpeechPhraseAlternates>

fn Audio(&self, startelement: i32, elements: i32) -> Result<ISpeechMemoryStream>

fn SpeakAudio( &self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags, ) -> Result<i32>

fn SaveToMemory(&self) -> Result<VARIANT>

fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§