Enum Class DeliveryMethod
- All Implemented Interfaces:
Serializable,Comparable<DeliveryMethod>,Constable
An enum to represent the different delivery methods of
streams which are returned
by the extractor.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed forStreams served using the DASH (Dynamic Adaptive Streaming over HTTP) adaptive streaming method.Used forStreams served using the HLS (HTTP Live Streaming) adaptive streaming method.Used forStreams served using the progressive HTTP streaming method.Used forStreams served using the SmoothStreaming adaptive streaming method.Used forStreams served via a torrent file. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryMethodReturns the enum constant of this class with the specified name.static DeliveryMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROGRESSIVE_HTTP
Used forStreams served using the progressive HTTP streaming method. -
DASH
Used forStreams served using the DASH (Dynamic Adaptive Streaming over HTTP) adaptive streaming method.- See Also:
-
- the Dynamic Adaptive Streaming over HTTP Wikipedia page and DASH Industry Forum's website for more information about the DASH delivery method
-
HLS
Used forStreams served using the HLS (HTTP Live Streaming) adaptive streaming method.- See Also:
-
- the HTTP Live Streaming page and Apple's developers website page about HTTP Live Streaming for more information about the HLS delivery method
-
SS
Used forStreams served using the SmoothStreaming adaptive streaming method.- See Also:
-
- Wikipedia's page about adaptive bitrate streaming, section Microsoft Smooth Streaming (MSS) for more information about the SmoothStreaming delivery method
-
TORRENT
Used forStreams served via a torrent file.- See Also:
-
- Wikipedia's BitTorrent's page, Wikipedia's page about torrent files and Bitorrent's website for more information about the BitTorrent protocol
-
-
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
-