Trait script::dom::bindings::codegen::Bindings::VideoTrackListBinding::VideoTrackList_Binding::VideoTrackListMethods
source · pub trait VideoTrackListMethods {
// Required methods
fn Length(&self) -> u32;
fn GetTrackById(&self, id: DOMString) -> Option<Root<Dom<VideoTrack>>>;
fn SelectedIndex(&self) -> i32;
fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnaddtrack(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnaddtrack(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnremovetrack(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnremovetrack(&self, value: Option<Rc<EventHandlerNonNull>>);
fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<VideoTrack>>>;
}