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§

Object Safety§

This trait is not object safe.

Implementors§