Trait script::dom::bindings::codegen::Bindings::RTCIceCandidateBinding::RTCIceCandidate_Binding::RTCIceCandidateMethods
source · pub trait RTCIceCandidateMethods<D: DomTypes> {
// Required methods
fn Candidate(&self) -> DOMString;
fn GetSdpMid(&self) -> Option<DOMString>;
fn GetSdpMLineIndex(&self) -> Option<u16>;
fn GetUsernameFragment(&self) -> Option<DOMString>;
fn ToJSON(&self) -> RTCIceCandidateInit;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
candidateInitDict: &RTCIceCandidateInit,
) -> Result<Root<Dom<RTCIceCandidate>>, Error>;
}
Required Methods§
fn Candidate(&self) -> DOMString
fn GetSdpMid(&self) -> Option<DOMString>
fn GetSdpMLineIndex(&self) -> Option<u16>
fn GetUsernameFragment(&self) -> Option<DOMString>
fn ToJSON(&self) -> RTCIceCandidateInit
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, candidateInitDict: &RTCIceCandidateInit, ) -> Result<Root<Dom<RTCIceCandidate>>, Error>
Object Safety§
This trait is not object safe.