Trait script::dom::bindings::codegen::Bindings::RTCTrackEventBinding::RTCTrackEvent_Binding::RTCTrackEventMethods
source · pub trait RTCTrackEventMethods<D: DomTypes> {
// Required methods
fn Track(&self) -> Root<Dom<MediaStreamTrack>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &RTCTrackEventInit,
) -> Result<Root<Dom<RTCTrackEvent>>, Error>;
}
Required Methods§
fn Track(&self) -> Root<Dom<MediaStreamTrack>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCTrackEventInit, ) -> Result<Root<Dom<RTCTrackEvent>>, Error>
Object Safety§
This trait is not object safe.