Trait script::dom::bindings::codegen::Bindings::RTCPeerConnectionIceEventBinding::RTCPeerConnectionIceEvent_Binding::RTCPeerConnectionIceEventMethods
source · pub trait RTCPeerConnectionIceEventMethods<D: DomTypes> {
// Required methods
fn GetCandidate(&self) -> Option<Root<Dom<RTCIceCandidate>>>;
fn GetUrl(&self) -> Option<DOMString>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &RTCPeerConnectionIceEventInit,
) -> Result<Root<Dom<RTCPeerConnectionIceEvent>>, Error>;
}
Required Methods§
fn GetCandidate(&self) -> Option<Root<Dom<RTCIceCandidate>>>
fn GetUrl(&self) -> Option<DOMString>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCPeerConnectionIceEventInit, ) -> Result<Root<Dom<RTCPeerConnectionIceEvent>>, Error>
Object Safety§
This trait is not object safe.