Package-level declarations

Types

Link copied to clipboard
sealed interface AlignSetting
Link copied to clipboard
sealed interface AutoKeyword
Link copied to clipboard
sealed interface DirectionSetting
Link copied to clipboard
sealed interface LineAlignSetting
Link copied to clipboard
Link copied to clipboard
sealed interface PositionAlignSetting
Link copied to clipboard
sealed interface ScrollSetting
Link copied to clipboard

The TextTrack interface of the WebVTT API represents a text track associated with a media element.

Link copied to clipboard

The TextTrackCue interface of the WebVTT API is the abstract base class for the various derived cue types, such as VTTCue; you will work with these derived types rather than the base class.

Link copied to clipboard

The TextTrackCueList interface of the WebVTT API is an array-like object that represents a dynamically updating list of TextTrackCue objects.

Link copied to clipboard
sealed interface TextTrackKind
Link copied to clipboard

The TextTrackList interface is used to represent a list of the text tracks defined for the associated video or audio element, with each track represented by a separate textTrack object in the list.

Link copied to clipboard
sealed interface TextTrackMode
Link copied to clipboard
open class TrackEvent(val type: EventType<TrackEvent>, init: TrackEventInit = definedExternally) : Event

The TrackEvent interface of the HTML DOM API is used for events which represent changes to a set of available tracks on an HTML media element; these events are addtrack and removetrack.

Link copied to clipboard
Link copied to clipboard
open class VTTCue(startTime: Double, endTime: Double, var text: String) : TextTrackCue

The VTTCue interface of the WebVTT API represents a cue that can be added to the text track associated with a particular video (or other media).

Link copied to clipboard
open class VTTRegion

The VTTRegion interface of the WebVTT API describes a portion of the video to render a VTTCue onto.