Enum TextTrackType

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum TextTrackType
    extends Enum<TextTrackType>
                        

    The content type of a text track.

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NONE

      The type of the tracks contents is unknown.

      SRT

      The track contains SRT (SubRip Text) content.

      TTML

      The track contains TTML (Timed Text Markup Language) content.

      WEBVTT

      The track contains WebVTT (Web Video Text Tracks) content.

      EMSG

      The track contains emsg (Event Message) content.

      EVENTSTREAM

      The track contains Event Stream content.

      ID3

      The track contains ID3 content.

      CEA608

      The track contains CEA608 content.

      TIMECODE

      The track contains time codes content.

      DATERANGE

      The track contains HLS EXT-X-DATERANGE content.

    • Method Summary

      Modifier and Type Method Description
      String toString()
      final TextTrackType valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<TextTrackType> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final String getType() The textual representation of the text track type.
      final EnumEntries<TextTrackType> getEntries() The content type of a text track.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final TextTrackType valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<TextTrackType> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.

      • getType

         final String getType()

        The textual representation of the text track type. (NonNull)