windows::Win32::System::RealTimeCommunications

Trait IRTCMediaRequestEvent_Impl

pub trait IRTCMediaRequestEvent_Impl: IDispatch_Impl {
    // Required methods
    fn Session(&self) -> Result<IRTCSession2>;
    fn ProposedMedia(&self) -> Result<i32>;
    fn CurrentMedia(&self) -> Result<i32>;
    fn Accept(&self, lmediatypes: i32) -> Result<()>;
    fn get_RemotePreferredSecurityLevel(
        &self,
        ensecuritytype: RTC_SECURITY_TYPE,
    ) -> Result<RTC_SECURITY_LEVEL>;
    fn Reject(&self) -> Result<()>;
    fn State(&self) -> Result<RTC_REINVITE_STATE>;
}

Required Methods§

fn Session(&self) -> Result<IRTCSession2>

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

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

fn Accept(&self, lmediatypes: i32) -> Result<()>

fn get_RemotePreferredSecurityLevel( &self, ensecuritytype: RTC_SECURITY_TYPE, ) -> Result<RTC_SECURITY_LEVEL>

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

fn State(&self) -> Result<RTC_REINVITE_STATE>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§