Enum 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 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 name
        NullPointerException - if the argument is null
      • 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