public final class Track
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
bitrate
Bandwidth of the track in bits per second or -1 if not available or not applicable.
|
static Track |
DISABLE_CAPTIONS
Special Track instance to signal the player to turn off captions.
|
int |
height
Height of the video in pixels or -1 if not available or not applicable.
|
int |
id
Id to identify a track.
|
java.lang.String |
language
Language of the track or null if not available or not applicable.
|
static Track |
SET_ADAPTIVE
Special Track instance to signal the player to set adaptive mode on.
|
int |
type
Type of track.
|
static int |
TYPE_AUDIO
Track type corresponding to an audio stream.
|
static int |
TYPE_CAPTIONS
Track type corresponding to captions.
|
static int |
TYPE_COMBINED
Track type corresponding to a combined audio and video stream.
|
static int |
TYPE_UNKNOWN
Track type corresponding to unknown format.
|
static int |
TYPE_VIDEO
Track type corresponding to a video stream.
|
int |
width
Width of the video in pixels or -1 if not available or not applicable.
|
| Constructor and Description |
|---|
Track(int id,
int type,
int height,
int width,
int bitrate,
java.lang.String language) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
toString() |
public static final Track DISABLE_CAPTIONS
public static final Track SET_ADAPTIVE
public static final int TYPE_UNKNOWN
public static final int TYPE_AUDIO
public static final int TYPE_VIDEO
public static final int TYPE_CAPTIONS
public static final int TYPE_COMBINED
public final int id
public final int type
public final int bitrate
public final int width
public final int height
public final java.lang.String language