public static class MediaMetadata.Track
Represents a media track.
Constructor and Description |
---|
Track(java.lang.String language,
java.lang.String label,
boolean isEnabled,
java.lang.String id)
Creates an instance of
class MediaMetadata.Track . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
The track identifier.
|
java.lang.String |
getLabel()
The track label.
|
java.lang.String |
getLanguage()
The track language.
|
boolean |
isEnabled()
Indicates if the track is enabled or not.
|
public Track(@NotNull java.lang.String language, @NotNull java.lang.String label, boolean isEnabled, @NotNull java.lang.String id)
Creates an instance of class MediaMetadata.Track
.
language
- The track language.label
- The track label.isEnabled
- Indicates if the track is enabled or not.id
- The track identifier.class MediaMetadata.Track
@NotNull public java.lang.String getLanguage()
The track language.
@NotNull public java.lang.String getLabel()
The track label.
public boolean isEnabled()
Indicates if the track is enabled or not.
@NotNull public java.lang.String getId()
The track identifier.