Trait script::dom::bindings::codegen::Bindings::RTCSessionDescriptionBinding::RTCSessionDescription_Binding::RTCSessionDescriptionMethods
source · pub trait RTCSessionDescriptionMethods<D: DomTypes> {
// Required methods
fn Type(&self) -> RTCSdpType;
fn Sdp(&self) -> DOMString;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
descriptionInitDict: &RTCSessionDescriptionInit,
) -> Result<Root<Dom<RTCSessionDescription>>, Error>;
}
Required Methods§
fn Type(&self) -> RTCSdpType
fn Sdp(&self) -> DOMString
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, descriptionInitDict: &RTCSessionDescriptionInit, ) -> Result<Root<Dom<RTCSessionDescription>>, Error>
Object Safety§
This trait is not object safe.