pub trait TextTrackMethods {
    // Required methods
    fn Kind(&self) -> TextTrackKind;
    fn Label(&self) -> DOMString;
    fn Language(&self) -> DOMString;
    fn Id(&self) -> DOMString;
    fn Mode(&self) -> TextTrackMode;
    fn SetMode(&self, value: TextTrackMode);
    fn GetCues(&self) -> Option<Root<Dom<TextTrackCueList>>>;
    fn GetActiveCues(&self) -> Option<Root<Dom<TextTrackCueList>>>;
    fn AddCue(&self, cue: &TextTrackCue) -> Result<(), Error>;
    fn RemoveCue(&self, cue: &TextTrackCue) -> Result<(), Error>;
    fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOncuechange(&self, value: Option<Rc<EventHandlerNonNull>>);
}

Required Methods§

Implementors§