Interface Track
-
- All Superinterfaces:
ContentAccess
,ContentStreamAccess
,Serializable
public interface Track extends ContentStreamAccess
A track provides additional information relating to the video, for example subtitles. Note that all themes support tracks in WebVTT format. These files are encoded as UTF-8 and must be served with MIME type "text/vtt". Themes may provide additional support for different track formats.- Since:
- 1.0.0
- Author:
- Yiannis Paschalidis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Track.Kind
Describes the kind of track.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Track.Kind
getKind()
String
getLanguage()
-
Methods inherited from interface com.github.bordertech.wcomponents.ContentAccess
getBytes, getDescription, getMimeType
-
Methods inherited from interface com.github.bordertech.wcomponents.ContentStreamAccess
getStream
-
-
-
-
Method Detail
-
getLanguage
String getLanguage()
- Returns:
- the ISO 639-1 language code for this track.
-
getKind
Track.Kind getKind()
- Returns:
- the type of this track.
-
-