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§

source

fn Track(&self) -> Root<Dom<MediaStreamTrack>>

source

fn IsTrusted(&self) -> bool

source

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.

Implementors§