public enum WebVttCueIdentifierPolicy extends Enum<WebVttCueIdentifierPolicy>
Enum Constant and Description |
---|
INCLUDE_IDENTIFIERS
Cue identifiers are added in the resulting webvtt file
|
OMIT_IDENTIFIERS
Cue identifiers are not added in the resulting webvtt file
|
Modifier and Type | Method and Description |
---|---|
static WebVttCueIdentifierPolicy |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static WebVttCueIdentifierPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebVttCueIdentifierPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebVttCueIdentifierPolicy INCLUDE_IDENTIFIERS
public static final WebVttCueIdentifierPolicy OMIT_IDENTIFIERS
public static WebVttCueIdentifierPolicy[] values()
for (WebVttCueIdentifierPolicy c : WebVttCueIdentifierPolicy.values()) System.out.println(c);
public static WebVttCueIdentifierPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<WebVttCueIdentifierPolicy>
public static WebVttCueIdentifierPolicy fromValue(String text)
Copyright © 2025. All rights reserved.