Enum SourceType
-
- All Implemented Interfaces:
public enum SourceTypeThe types of sources.
-
-
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.
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.
-
Method Summary
Modifier and Type Method Description StringgetMimeType()static Array<SourceType>values()Returns an array containing the constants of this enum type, in the order they're declared. static SourceTypevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getMimeType
String getMimeType()
-
values
static 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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static SourceType valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-