Class TextTrackDescription

  • All Implemented Interfaces:

    public class TextTrackDescription

    A TextTrack description contains information of a side-loaded text track, that can be added to the source.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class TextTrackDescription.Builder

      The builder for TextTrackDescription.

    • Constructor Summary

      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getSrc() The source URL where the text track can be downloaded from.
      boolean isDefault() Returns whether this textTrack is the default text track.
      TextTrackKind getKind() The kind of the text track.
      String getSrclang() The main language of the track.
      String getLabel() The label for the track which can be used to identify it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait