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
    • 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.