Class AdaptationSet


  • public class AdaptationSet
    extends Object
    Represents a set of interchangeable encoded versions of a media content component.
    • Field Detail

      • ID_UNSET

        public static final int ID_UNSET
        Value of id indicating no value is set.=
        See Also:
        Constant Field Values
      • id

        public final int id
        A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.
      • type

        public final int type
        The type of the adaptation set. One of the C TRACK_TYPE_* constants.
      • accessibilityDescriptors

        public final List<Descriptor> accessibilityDescriptors
        Accessibility descriptors in the adaptation set.
      • essentialProperties

        public final List<Descriptor> essentialProperties
        Essential properties in the adaptation set.
      • supplementalProperties

        public final List<Descriptor> supplementalProperties
        Supplemental properties in the adaptation set.
    • Constructor Detail

      • AdaptationSet

        public AdaptationSet​(int id,
                             int type,
                             List<Representation> representations,
                             List<Descriptor> accessibilityDescriptors,
                             List<Descriptor> essentialProperties,
                             List<Descriptor> supplementalProperties)
        Parameters:
        id - A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.
        type - The type of the adaptation set. One of the C TRACK_TYPE_* constants.
        representations - Representations in the adaptation set.
        accessibilityDescriptors - Accessibility descriptors in the adaptation set.
        essentialProperties - Essential properties in the adaptation set.
        supplementalProperties - Supplemental properties in the adaptation set.