Class AdaptationSet
- java.lang.Object
-
- com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
@Deprecated public class AdaptationSet extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Represents a set of interchangeable encoded versions of a media content component.
-
-
Field Summary
Fields Modifier and Type Field Description List<Descriptor>
accessibilityDescriptors
Deprecated.Accessibility descriptors in the adaptation set.List<Descriptor>
essentialProperties
Deprecated.Essential properties in the adaptation set.long
id
Deprecated.A non-negative identifier for the adaptation set that's unique in the scope of its containing period, orID_UNSET
if not specified.static long
ID_UNSET
Deprecated.Value ofid
indicating no value is set.=List<Representation>
representations
Deprecated.Representation
s in the adaptation set.List<Descriptor>
supplementalProperties
Deprecated.Supplemental properties in the adaptation set.@com.google.android.exoplayer2.C.TrackType int
type
Deprecated.Thetrack type
of the adaptation set.
-
Constructor Summary
Constructors Constructor Description AdaptationSet(long id, @com.google.android.exoplayer2.C.TrackType int type, List<Representation> representations, List<Descriptor> accessibilityDescriptors, List<Descriptor> essentialProperties, List<Descriptor> supplementalProperties)
Deprecated.
-
-
-
Field Detail
-
ID_UNSET
public static final long ID_UNSET
Deprecated.Value ofid
indicating no value is set.=- See Also:
- Constant Field Values
-
id
public final long id
Deprecated.A non-negative identifier for the adaptation set that's unique in the scope of its containing period, orID_UNSET
if not specified.
-
type
public final @com.google.android.exoplayer2.C.TrackType int type
Deprecated.Thetrack type
of the adaptation set.
-
representations
public final List<Representation> representations
Deprecated.Representation
s in the adaptation set.
-
accessibilityDescriptors
public final List<Descriptor> accessibilityDescriptors
Deprecated.Accessibility descriptors in the adaptation set.
-
essentialProperties
public final List<Descriptor> essentialProperties
Deprecated.Essential properties in the adaptation set.
-
supplementalProperties
public final List<Descriptor> supplementalProperties
Deprecated.Supplemental properties in the adaptation set.
-
-
Constructor Detail
-
AdaptationSet
public AdaptationSet(long id, @com.google.android.exoplayer2.C.TrackType int type, List<Representation> representations, List<Descriptor> accessibilityDescriptors, List<Descriptor> essentialProperties, List<Descriptor> supplementalProperties)
Deprecated.- Parameters:
id
- A non-negative identifier for the adaptation set that's unique in the scope of its containing period, orID_UNSET
if not specified.type
- Thetrack type
of the adaptation set.representations
-Representation
s 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.
-
-