Track
abstract class Track(val url: String?, val type: TrackType?, val label: String? = null, val id: String = UUID.randomUUID().toString(), val isDefault: Boolean = false, val roles: List<MediaTrackRole> = emptyList()) : Parcelable
The base class for all tracks.
Inheritors
Constructors
Properties
| Name | Summary |
|---|---|
| id | val id: String The ID of the Track. |
| isDefault | val isDefault: Boolean Specifies whether the Track is a default Track. |
| label | val label: String? The label of the Track. |
| roles | val roles: List<MediaTrackRole> Specifies all the DASH roles that are associated with the Track. |
| type | val type: TrackType? The TrackType of the Track. |
| url | val url: String? The URL of the Track. |