docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/AdaptationSet.html
Package com.google.android.exoplayer2.source.dash.manifest
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classAdaptationSetextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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.
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, or ID_UNSET if not specified.
|
| static long | ID_UNSET |
Deprecated.
Value of id indicating no value is set.=
|
| List<Representation> | representations |
Deprecated.
Representations in the adaptation set.
|
| List<Descriptor> | supplementalProperties |
Deprecated.
Supplemental properties in the adaptation set.
|
| @com.google.android.exoplayer2.C.TrackType int | type |
Deprecated.
The track type of the adaptation set.
|
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.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final long ID_UNSET
Deprecated.
Value of id indicating no value is set.=
See Also:Constant Field Values
-
public final long id
Deprecated.
A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.
-
public final @com.google.android.exoplayer2.C.TrackType int type
Deprecated.
The track type of the adaptation set.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Representation](Representation.html "class in com.google.android.exoplayer2.source.dash.manifest")> representations
Deprecated.
Representations in the adaptation set.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors
Deprecated.
Accessibility descriptors in the adaptation set.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> essentialProperties
Deprecated.
Essential properties in the adaptation set.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties
Deprecated.
Supplemental properties in the adaptation set.
-
public AdaptationSet(long id,
@com.google.android.exoplayer2.C.TrackType int type,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Representation](Representation.html "class in com.google.android.exoplayer2.source.dash.manifest")> representations,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> essentialProperties,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties)
Deprecated.
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 track type of 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.