@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="TrackEvent")
public class TrackEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
TrackEvent(java.lang.String type)
The TrackEvent() constructor creates and returns a new TrackEvent object describing an event which occurred on a list of tracks (AudioTrackList, VideoTrackList, or TextTrackList).
|
TrackEvent(java.lang.String type,
TrackEventInit eventInitDict)
The TrackEvent() constructor creates and returns a new TrackEvent object describing an event which occurred on a list of tracks (AudioTrackList, VideoTrackList, or TextTrackList).
|
| Modifier and Type | Method and Description |
|---|---|
VideoTrackOrAudioTrackOrTextTrackUnion |
track()
The read-only track property of the TrackEvent interface specifies the media track object to which the event applies.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic TrackEvent(@Nonnull
java.lang.String type,
@Nonnull
TrackEventInit eventInitDict)
public TrackEvent(@Nonnull
java.lang.String type)
@JsProperty(name="track") @Nullable public VideoTrackOrAudioTrackOrTextTrackUnion track()