docs/doc/reference/com/google/android/exoplayer2/video/DolbyVisionConfig.html
Package com.google.android.exoplayer2.video
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classDolbyVisionConfigextends[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.
Dolby Vision configuration data.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| String | codecs |
Deprecated.
The RFC 6381 codecs string.
|
| int | level |
Deprecated.
The level number.
|
| int | profile |
Deprecated.
The profile number. |
All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| static DolbyVisionConfig | parse(ParsableByteArray data) |
Deprecated.
Parses Dolby Vision configuration data. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final int profile
Deprecated.
The profile number.
-
public final int level
Deprecated.
The level number.
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")codecs
Deprecated.
The RFC 6381 codecs string.
-
@Nullable
public static[DolbyVisionConfig](DolbyVisionConfig.html "class in com.google.android.exoplayer2.video")parse([ParsableByteArray](../util/ParsableByteArray.html "class in com.google.android.exoplayer2.util")data)
Deprecated.
Parses Dolby Vision configuration data.
Parameters:data - A ParsableByteArray, whose position is set to the start of the Dolby Vision configuration data to parse.Returns:The DolbyVisionConfig corresponding to the configuration, or null if the configuration isn't supported.