public static enum Media.HlsVideoSegmentFormat extends Enum<Media.HlsVideoSegmentFormat>
| Enum Constant and Description |
|---|
FMP4
Video packed in ISO BMFF CMAF Fragmented MP4.
|
MPEG2_TS
MPEG-2 Transport Stream.
|
| Modifier and Type | Method and Description |
|---|---|
static Media.HlsVideoSegmentFormat |
typeOf(String hlsVideoSegmentFormat)
Parses the specified string and returns the corresponding
Media.HlsVideoSegmentFormat, or null if no match could be
found. |
static Media.HlsVideoSegmentFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media.HlsVideoSegmentFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media.HlsVideoSegmentFormat MPEG2_TS
public static final Media.HlsVideoSegmentFormat FMP4
public static Media.HlsVideoSegmentFormat[] values()
for (Media.HlsVideoSegmentFormat c : Media.HlsVideoSegmentFormat.values()) System.out.println(c);
public static Media.HlsVideoSegmentFormat 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 null@Nullable public static Media.HlsVideoSegmentFormat typeOf(String hlsVideoSegmentFormat)
Media.HlsVideoSegmentFormat, or null if no match could be
found.hlsVideoSegmentFormat - the string to parse.Media.HlsVideoSegmentFormat or null.Copyright © 2022. All rights reserved.