Enum SourceType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum SourceType extends Enum<SourceType>
The types of sources.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmimeTypeprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<SourceType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DASHThe source is a DASH stream.
HLSThe source is an HLS stream.
HLSXThe source is an HLSX stream.
MP4The source is an MP4 stream.
AACThe source is an AAC stream.
MKVThe source is an MKV stream.
MP3The source is an MP3 stream.
M4AThe source is an M4A stream.
WAVThe source is a WAV stream.
HESPThe source is a HESP stream.
MILLICASTThe source is a Millicast stream.
This requires the THEOplayer Millicast integration to play.
THEOLIVEThe source is a THEOlive distribution.
-
Method Summary
Modifier and Type Method Description final SourceTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<SourceType>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetMimeType()final EnumEntries<SourceType>getEntries()The types of sources. -
-
Method Detail
-
valueOf
final SourceType 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<SourceType> 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.
-
getMimeType
final String getMimeType()
-
getEntries
final EnumEntries<SourceType> getEntries()
The types of sources.
-
-
-
-