Enum HlsAudioTrackType
- java.lang.Object
-
- java.lang.Enum<HlsAudioTrackType>
-
- software.amazon.awssdk.services.mediaconvert.model.HlsAudioTrackType
-
- All Implemented Interfaces:
Serializable,Comparable<HlsAudioTrackType>
@Generated("software.amazon.awssdk:codegen") public enum HlsAudioTrackType extends Enum<HlsAudioTrackType>
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATE_AUDIO_AUTO_SELECTALTERNATE_AUDIO_AUTO_SELECT_DEFAULTALTERNATE_AUDIO_NOT_AUTO_SELECTAUDIO_ONLY_VARIANT_STREAMUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HlsAudioTrackTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<HlsAudioTrackType>knownValues()StringtoString()static HlsAudioTrackTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HlsAudioTrackType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT
public static final HlsAudioTrackType ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT
-
ALTERNATE_AUDIO_AUTO_SELECT
public static final HlsAudioTrackType ALTERNATE_AUDIO_AUTO_SELECT
-
ALTERNATE_AUDIO_NOT_AUTO_SELECT
public static final HlsAudioTrackType ALTERNATE_AUDIO_NOT_AUTO_SELECT
-
AUDIO_ONLY_VARIANT_STREAM
public static final HlsAudioTrackType AUDIO_ONLY_VARIANT_STREAM
-
UNKNOWN_TO_SDK_VERSION
public static final HlsAudioTrackType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static HlsAudioTrackType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HlsAudioTrackType c : HlsAudioTrackType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HlsAudioTrackType 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<HlsAudioTrackType>
-
fromValue
public static HlsAudioTrackType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- HlsAudioTrackType corresponding to the value
-
knownValues
public static Set<HlsAudioTrackType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownHlsAudioTrackTypes
-
-