pub trait IRTCClient_Impl: Sized {
Show 42 methods // Required methods fn Initialize(&self) -> Result<()>; fn Shutdown(&self) -> Result<()>; fn PrepareForShutdown(&self) -> Result<()>; fn SetEventFilter(&self, lfilter: i32) -> Result<()>; fn EventFilter(&self) -> Result<i32>; fn SetPreferredMediaTypes( &self, lmediatypes: i32, fpersistent: VARIANT_BOOL, ) -> Result<()>; fn PreferredMediaTypes(&self) -> Result<i32>; fn MediaCapabilities(&self) -> Result<i32>; fn CreateSession( &self, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: &BSTR, pprofile: Option<&IRTCProfile>, lflags: i32, ) -> Result<IRTCSession>; fn SetListenForIncomingSessions( &self, enlisten: RTC_LISTEN_MODE, ) -> Result<()>; fn ListenForIncomingSessions(&self) -> Result<RTC_LISTEN_MODE>; fn get_NetworkAddresses( &self, ftcp: VARIANT_BOOL, fexternal: VARIANT_BOOL, ) -> Result<VARIANT>; fn put_Volume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> Result<()>; fn get_Volume(&self, endevice: RTC_AUDIO_DEVICE) -> Result<i32>; fn put_AudioMuted( &self, endevice: RTC_AUDIO_DEVICE, fmuted: VARIANT_BOOL, ) -> Result<()>; fn get_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE) -> Result<VARIANT_BOOL>; fn get_IVideoWindow( &self, endevice: RTC_VIDEO_DEVICE, ) -> Result<IVideoWindow>; fn put_PreferredAudioDevice( &self, endevice: RTC_AUDIO_DEVICE, bstrdevicename: &BSTR, ) -> Result<()>; fn get_PreferredAudioDevice( &self, endevice: RTC_AUDIO_DEVICE, ) -> Result<BSTR>; fn put_PreferredVolume( &self, endevice: RTC_AUDIO_DEVICE, lvolume: i32, ) -> Result<()>; fn get_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE) -> Result<i32>; fn SetPreferredAEC(&self, benable: VARIANT_BOOL) -> Result<()>; fn PreferredAEC(&self) -> Result<VARIANT_BOOL>; fn SetPreferredVideoDevice(&self, bstrdevicename: &BSTR) -> Result<()>; fn PreferredVideoDevice(&self) -> Result<BSTR>; fn ActiveMedia(&self) -> Result<i32>; fn SetMaxBitrate(&self, lmaxbitrate: i32) -> Result<()>; fn MaxBitrate(&self) -> Result<i32>; fn SetTemporalSpatialTradeOff(&self, lvalue: i32) -> Result<()>; fn TemporalSpatialTradeOff(&self) -> Result<i32>; fn NetworkQuality(&self) -> Result<i32>; fn StartT120Applet(&self, enapplet: RTC_T120_APPLET) -> Result<()>; fn StopT120Applets(&self) -> Result<()>; fn get_IsT120AppletRunning( &self, enapplet: RTC_T120_APPLET, ) -> Result<VARIANT_BOOL>; fn LocalUserURI(&self) -> Result<BSTR>; fn SetLocalUserURI(&self, bstruseruri: &BSTR) -> Result<()>; fn LocalUserName(&self) -> Result<BSTR>; fn SetLocalUserName(&self, bstrusername: &BSTR) -> Result<()>; fn PlayRing(&self, entype: RTC_RING_TYPE, bplay: VARIANT_BOOL) -> Result<()>; fn SendDTMF(&self, endtmf: RTC_DTMF) -> Result<()>; fn InvokeTuningWizard(&self, hwndparent: isize) -> Result<()>; fn IsTuned(&self) -> Result<VARIANT_BOOL>;
}

Required Methods§

fn Initialize(&self) -> Result<()>

fn Shutdown(&self) -> Result<()>

fn PrepareForShutdown(&self) -> Result<()>

fn SetEventFilter(&self, lfilter: i32) -> Result<()>

fn EventFilter(&self) -> Result<i32>

fn SetPreferredMediaTypes( &self, lmediatypes: i32, fpersistent: VARIANT_BOOL, ) -> Result<()>

fn PreferredMediaTypes(&self) -> Result<i32>

fn MediaCapabilities(&self) -> Result<i32>

fn CreateSession( &self, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: &BSTR, pprofile: Option<&IRTCProfile>, lflags: i32, ) -> Result<IRTCSession>

fn SetListenForIncomingSessions(&self, enlisten: RTC_LISTEN_MODE) -> Result<()>

fn ListenForIncomingSessions(&self) -> Result<RTC_LISTEN_MODE>

fn get_NetworkAddresses( &self, ftcp: VARIANT_BOOL, fexternal: VARIANT_BOOL, ) -> Result<VARIANT>

fn put_Volume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> Result<()>

fn get_Volume(&self, endevice: RTC_AUDIO_DEVICE) -> Result<i32>

fn put_AudioMuted( &self, endevice: RTC_AUDIO_DEVICE, fmuted: VARIANT_BOOL, ) -> Result<()>

fn get_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE) -> Result<VARIANT_BOOL>

fn get_IVideoWindow(&self, endevice: RTC_VIDEO_DEVICE) -> Result<IVideoWindow>

fn put_PreferredAudioDevice( &self, endevice: RTC_AUDIO_DEVICE, bstrdevicename: &BSTR, ) -> Result<()>

fn get_PreferredAudioDevice(&self, endevice: RTC_AUDIO_DEVICE) -> Result<BSTR>

fn put_PreferredVolume( &self, endevice: RTC_AUDIO_DEVICE, lvolume: i32, ) -> Result<()>

fn get_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE) -> Result<i32>

fn SetPreferredAEC(&self, benable: VARIANT_BOOL) -> Result<()>

fn PreferredAEC(&self) -> Result<VARIANT_BOOL>

fn SetPreferredVideoDevice(&self, bstrdevicename: &BSTR) -> Result<()>

fn PreferredVideoDevice(&self) -> Result<BSTR>

fn ActiveMedia(&self) -> Result<i32>

fn SetMaxBitrate(&self, lmaxbitrate: i32) -> Result<()>

fn MaxBitrate(&self) -> Result<i32>

fn SetTemporalSpatialTradeOff(&self, lvalue: i32) -> Result<()>

fn TemporalSpatialTradeOff(&self) -> Result<i32>

fn NetworkQuality(&self) -> Result<i32>

fn StartT120Applet(&self, enapplet: RTC_T120_APPLET) -> Result<()>

fn StopT120Applets(&self) -> Result<()>

fn get_IsT120AppletRunning( &self, enapplet: RTC_T120_APPLET, ) -> Result<VARIANT_BOOL>

fn LocalUserURI(&self) -> Result<BSTR>

fn SetLocalUserURI(&self, bstruseruri: &BSTR) -> Result<()>

fn LocalUserName(&self) -> Result<BSTR>

fn SetLocalUserName(&self, bstrusername: &BSTR) -> Result<()>

fn PlayRing(&self, entype: RTC_RING_TYPE, bplay: VARIANT_BOOL) -> Result<()>

fn SendDTMF(&self, endtmf: RTC_DTMF) -> Result<()>

fn InvokeTuningWizard(&self, hwndparent: isize) -> Result<()>

fn IsTuned(&self) -> Result<VARIANT_BOOL>

Object Safety§

This trait is not object safe.

Implementors§