Enum Class ITrack.Kind

java.lang.Object
java.lang.Enum<ITrack.Kind>
org.zkoss.stateless.sul.ITrack.Kind
All Implemented Interfaces:
Serializable, Comparable<ITrack.Kind>, Constable
Enclosing interface:
ITrack

public static enum ITrack.Kind extends Enum<ITrack.Kind>
Specifies the kind with ITrack.withKind(Kind)
  • Enum Constant Details

    • SUBTITLES

      public static final ITrack.Kind SUBTITLES
      The track defines subtitles, used to display subtitles in a video
    • CAPTIONS

      public static final ITrack.Kind CAPTIONS
      The track defines translation of dialogue and sound effects (suitable for deaf users)
    • DESCRIPTIONS

      public static final ITrack.Kind DESCRIPTIONS
      The track defines a textual description of the video content (suitable for blind users)
    • CHAPTERS

      public static final ITrack.Kind CHAPTERS
      The track defines chapter titles (suitable for navigating the media resource)
    • METADATA

      public static final ITrack.Kind METADATA
      The track defines content used by scripts. Not visible for the user
  • Method Details

    • values

      public static ITrack.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ITrack.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null