Class AdaptationSet
- java.lang.Object
-
- com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
public class AdaptationSet extends Object
Represents a set of interchangeable encoded versions of a media content component.
-
-
Field Summary
Fields Modifier and Type Field Description List<Descriptor>accessibilityDescriptorsAccessibility descriptors in the adaptation set.List<Descriptor>essentialPropertiesEssential properties in the adaptation set.intidA non-negative identifier for the adaptation set that's unique in the scope of its containing period, orID_UNSETif not specified.static intID_UNSETValue ofidindicating no value is set.=List<Representation>representationsRepresentations in the adaptation set.List<Descriptor>supplementalPropertiesSupplemental properties in the adaptation set.@com.google.android.exoplayer2.C.TrackType inttypeThetrack typeof the adaptation set.
-
Constructor Summary
Constructors Constructor Description AdaptationSet(int id, @com.google.android.exoplayer2.C.TrackType int type, List<Representation> representations, List<Descriptor> accessibilityDescriptors, List<Descriptor> essentialProperties, List<Descriptor> supplementalProperties)
-
-
-
Field Detail
-
ID_UNSET
public static final int ID_UNSET
Value ofidindicating 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, orID_UNSETif not specified.
-
type
public final @com.google.android.exoplayer2.C.TrackType int type
Thetrack typeof the adaptation set.
-
representations
public final List<Representation> representations
Representations in the adaptation set.
-
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, @com.google.android.exoplayer2.C.TrackType 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, orID_UNSETif not specified.type- Thetrack typeof the adaptation set.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.
-
-