@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioTrack")
public class AudioTrack
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
boolean |
enabled
The AudioTrack property enabled specifies whether or not the described audio track is currently enabled for use.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AudioTrack() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
id()
The id property contains a string which uniquely identifies the track represented by the AudioTrack.
|
java.lang.String |
kind()
The kind property contains a string indicating the category of audio contained in the AudioTrack.
|
java.lang.String |
label()
The read-only AudioTrack property label returns a string specifying the audio track's human-readable label, if one is available; otherwise, it returns an empty string.
|
java.lang.String |
language()
The read-only AudioTrack property language returns a string identifying the language used in the audio track.
|
SourceBuffer |
sourceBuffer()
The read-only AudioTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic boolean enabled
@JsProperty(name="id") @Nonnull public java.lang.String id()
@JsProperty(name="kind") @Nonnull public java.lang.String kind()
@JsProperty(name="label") @Nonnull public java.lang.String label()
@JsProperty(name="language") @Nonnull public java.lang.String language()
@JsProperty(name="sourceBuffer") @Nullable public SourceBuffer sourceBuffer()