Back to Exoplayer

DolbyVisionConfig (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/video/DolbyVisionConfig.html

latest2.8 KB
Original Source

Package com.google.android.exoplayer2.video

Class DolbyVisionConfig


[@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.

Field Summary

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. |

Method Summary

All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | static DolbyVisionConfig | parse​(ParsableByteArray data) | Deprecated.

Parses Dolby Vision configuration data. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

profile

public final int profile

Deprecated.

The profile number.

- 

level

public final int level

Deprecated.

The level number.

- 

codecs

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.

Method Detail

- 

parse

@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.