Struct windows::Win32::Media::Speech::ISpeechRecognizer
pub struct ISpeechRecognizer(/* private fields */);
Implementations§
§impl ISpeechRecognizer
impl ISpeechRecognizer
pub unsafe fn putref_Recognizer<P0>(&self, recognizer: P0) -> Result<()>where
P0: IntoParam<ISpeechObjectToken>,
pub unsafe fn Recognizer(&self) -> Result<ISpeechObjectToken>
pub unsafe fn SetAllowAudioInputFormatChangesOnNextSet<P0>(
&self,
allow: P0
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn AllowAudioInputFormatChangesOnNextSet( &self ) -> Result<VARIANT_BOOL>
pub unsafe fn putref_AudioInput<P0>(&self, audioinput: P0) -> Result<()>where
P0: IntoParam<ISpeechObjectToken>,
pub unsafe fn AudioInput(&self) -> Result<ISpeechObjectToken>
pub unsafe fn putref_AudioInputStream<P0>(
&self,
audioinputstream: P0
) -> Result<()>where
P0: IntoParam<ISpeechBaseStream>,
pub unsafe fn AudioInputStream(&self) -> Result<ISpeechBaseStream>
pub unsafe fn SetState(&self, state: SpeechRecognizerState) -> Result<()>
pub unsafe fn State(&self) -> Result<SpeechRecognizerState>
pub unsafe fn Status(&self) -> Result<ISpeechRecognizerStatus>
pub unsafe fn putref_Profile<P0>(&self, profile: P0) -> Result<()>where
P0: IntoParam<ISpeechObjectToken>,
pub unsafe fn Profile(&self) -> Result<ISpeechObjectToken>
pub unsafe fn EmulateRecognition<P0>(
&self,
textelements: P0,
elementdisplayattributes: *const VARIANT,
languageid: i32
) -> Result<()>where
P0: IntoParam<VARIANT>,
pub unsafe fn CreateRecoContext(&self) -> Result<ISpeechRecoContext>
pub unsafe fn GetFormat( &self, type: SpeechFormatType ) -> Result<ISpeechAudioFormat>
pub unsafe fn SetPropertyNumber<P0>(
&self,
name: P0,
value: i32
) -> Result<VARIANT_BOOL>where
P0: IntoParam<BSTR>,
pub unsafe fn GetPropertyNumber<P0>(
&self,
name: P0,
value: *mut i32,
supported: *mut VARIANT_BOOL
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SetPropertyString<P0, P1>( &self, name: P0, value: P1 ) -> Result<VARIANT_BOOL>
pub unsafe fn GetPropertyString<P0>(
&self,
name: P0,
value: *mut BSTR,
supported: *mut VARIANT_BOOL
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn IsUISupported<P0>(
&self,
typeofui: P0,
extradata: *const VARIANT
) -> Result<VARIANT_BOOL>where
P0: IntoParam<BSTR>,
pub unsafe fn DisplayUI<P0, P1>( &self, hwndparent: i32, title: P0, typeofui: P1, extradata: *const VARIANT ) -> Result<()>
pub unsafe fn GetRecognizers<P0, P1>( &self, requiredattributes: P0, optionalattributes: P1 ) -> Result<ISpeechObjectTokens>
pub unsafe fn GetAudioInputs<P0, P1>( &self, requiredattributes: P0, optionalattributes: P1 ) -> Result<ISpeechObjectTokens>
pub unsafe fn GetProfiles<P0, P1>( &self, requiredattributes: P0, optionalattributes: P1 ) -> Result<ISpeechObjectTokens>
Trait Implementations§
§impl Clone for ISpeechRecognizer
impl Clone for ISpeechRecognizer
§fn clone(&self) -> ISpeechRecognizer
fn clone(&self) -> ISpeechRecognizer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ISpeechRecognizer
impl Debug for ISpeechRecognizer
§impl From<&ISpeechRecognizer> for &IDispatch
impl From<&ISpeechRecognizer> for &IDispatch
§fn from(value: &ISpeechRecognizer) -> Self
fn from(value: &ISpeechRecognizer) -> Self
Converts to this type from the input type.
§impl From<&ISpeechRecognizer> for &IUnknown
impl From<&ISpeechRecognizer> for &IUnknown
§fn from(value: &ISpeechRecognizer) -> Self
fn from(value: &ISpeechRecognizer) -> Self
Converts to this type from the input type.
§impl From<ISpeechRecognizer> for IDispatch
impl From<ISpeechRecognizer> for IDispatch
§fn from(value: ISpeechRecognizer) -> Self
fn from(value: ISpeechRecognizer) -> Self
Converts to this type from the input type.
§impl From<ISpeechRecognizer> for IUnknown
impl From<ISpeechRecognizer> for IUnknown
§fn from(value: ISpeechRecognizer) -> Self
fn from(value: ISpeechRecognizer) -> Self
Converts to this type from the input type.
§impl Interface for ISpeechRecognizer
impl Interface for ISpeechRecognizer
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ISpeechRecognizer
impl PartialEq for ISpeechRecognizer
§fn eq(&self, other: &ISpeechRecognizer) -> bool
fn eq(&self, other: &ISpeechRecognizer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISpeechRecognizer
impl StructuralPartialEq for ISpeechRecognizer
Auto Trait Implementations§
impl RefUnwindSafe for ISpeechRecognizer
impl !Send for ISpeechRecognizer
impl !Sync for ISpeechRecognizer
impl Unpin for ISpeechRecognizer
impl UnwindSafe for ISpeechRecognizer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more