Package com.brightcove.player.model
Enum Class CaptionType
- All Implemented Interfaces:
Serializable
,Comparable<CaptionType>
,Constable
Defines standard keys for each type of deliverable caption type handled by the SDK. These
values correspond to the standard MIME types for each specification.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CaptionType
fromString
(String text) toString()
static CaptionType
Returns the enum constant of this class with the specified name.static CaptionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Indicates that no CaptionType was specified. -
TTML
Indicates DFXP/TTML captioning. -
WEBVTT
Indicates WebVTT captioning. -
CEA608
Indicates CEA-608 captioning. -
CEA708
Indicates CEA-708 captioning.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<CaptionType>
-
fromString
-