Trait windows::Win32::System::RealTimeCommunications::IRTCSession_Impl
pub trait IRTCSession_Impl: Sized {
Show 20 methods
// Required methods
fn Client(&self) -> Result<IRTCClient>;
fn State(&self) -> Result<RTC_SESSION_STATE>;
fn Type(&self) -> Result<RTC_SESSION_TYPE>;
fn Profile(&self) -> Result<IRTCProfile>;
fn Participants(&self) -> Result<IRTCCollection>;
fn Answer(&self) -> Result<()>;
fn Terminate(&self, enreason: RTC_TERMINATE_REASON) -> Result<()>;
fn Redirect(
&self,
entype: RTC_SESSION_TYPE,
bstrlocalphoneuri: &BSTR,
pprofile: Option<&IRTCProfile>,
lflags: i32,
) -> Result<()>;
fn AddParticipant(
&self,
bstraddress: &BSTR,
bstrname: &BSTR,
) -> Result<IRTCParticipant>;
fn RemoveParticipant(
&self,
pparticipant: Option<&IRTCParticipant>,
) -> Result<()>;
fn EnumerateParticipants(&self) -> Result<IRTCEnumParticipants>;
fn CanAddParticipants(&self) -> Result<VARIANT_BOOL>;
fn RedirectedUserURI(&self) -> Result<BSTR>;
fn RedirectedUserName(&self) -> Result<BSTR>;
fn NextRedirectedUser(&self) -> Result<()>;
fn SendMessage(
&self,
bstrmessageheader: &BSTR,
bstrmessage: &BSTR,
lcookie: isize,
) -> Result<()>;
fn SendMessageStatus(
&self,
enuserstatus: RTC_MESSAGING_USER_STATUS,
lcookie: isize,
) -> Result<()>;
fn AddStream(&self, lmediatype: i32, lcookie: isize) -> Result<()>;
fn RemoveStream(&self, lmediatype: i32, lcookie: isize) -> Result<()>;
fn put_EncryptionKey(
&self,
lmediatype: i32,
encryptionkey: &BSTR,
) -> Result<()>;
}
Required Methods§
fn Client(&self) -> Result<IRTCClient>
fn State(&self) -> Result<RTC_SESSION_STATE>
fn Type(&self) -> Result<RTC_SESSION_TYPE>
fn Profile(&self) -> Result<IRTCProfile>
fn Participants(&self) -> Result<IRTCCollection>
fn Answer(&self) -> Result<()>
fn Terminate(&self, enreason: RTC_TERMINATE_REASON) -> Result<()>
fn Redirect( &self, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: &BSTR, pprofile: Option<&IRTCProfile>, lflags: i32, ) -> Result<()>
fn AddParticipant( &self, bstraddress: &BSTR, bstrname: &BSTR, ) -> Result<IRTCParticipant>
fn RemoveParticipant( &self, pparticipant: Option<&IRTCParticipant>, ) -> Result<()>
fn EnumerateParticipants(&self) -> Result<IRTCEnumParticipants>
fn CanAddParticipants(&self) -> Result<VARIANT_BOOL>
fn RedirectedUserURI(&self) -> Result<BSTR>
fn RedirectedUserName(&self) -> Result<BSTR>
fn NextRedirectedUser(&self) -> Result<()>
fn SendMessage( &self, bstrmessageheader: &BSTR, bstrmessage: &BSTR, lcookie: isize, ) -> Result<()>
fn SendMessageStatus( &self, enuserstatus: RTC_MESSAGING_USER_STATUS, lcookie: isize, ) -> Result<()>
fn AddStream(&self, lmediatype: i32, lcookie: isize) -> Result<()>
fn RemoveStream(&self, lmediatype: i32, lcookie: isize) -> Result<()>
fn put_EncryptionKey(&self, lmediatype: i32, encryptionkey: &BSTR) -> Result<()>
Object Safety§
This trait is not object safe.