AudioTrackList class
The interface is used to represent a list of the audio tracks
contained within a given HTML media element, with each track
represented by a separate AudioTrack object in the list.
Retrieve an instance of this object with
HTMLMediaElement.audioTracks
. The individual tracks can be
accessed using array syntax.
EventTarget
AudioTrackList
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- AudioTrackList()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Available on AudioTrackList, provided by the PropsAudioTrackList extension
no setter -
onaddtrack
↔ EventHandlerNonNull<
Event> ? -
Available on AudioTrackList, provided by the PropsAudioTrackList extension
getter/setter pair -
onchange
↔ EventHandlerNonNull<
Event> ? -
Available on AudioTrackList, provided by the PropsAudioTrackList extension
getter/setter pair -
onremovetrack
↔ EventHandlerNonNull<
Event> ? -
Available on AudioTrackList, provided by the PropsAudioTrackList extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
getTrackById(
String id) → AudioTrack? -
Available on AudioTrackList, provided by the PropsAudioTrackList extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited