Back to Exoplayer

CueDecoder (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/text/CueDecoder.html

latest2.4 KB
Original Source

Package com.google.android.exoplayer2.text

Class CueDecoder


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classCueDecoderextends[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.

Decodes data encoded by CueEncoder.

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | CueDecoder() | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | ImmutableList<Cue> | decode​(byte[] bytes) | Deprecated.

Decodes byte array into list of Cue objects. |

- 

Methods inherited from class java.lang.Object

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

Constructor Detail

- 

CueDecoder

public CueDecoder()

Deprecated.

Method Detail

- 

decode

public[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[Cue](Cue.html "class in com.google.android.exoplayer2.text")> decode​(byte[] bytes)

Deprecated.

Decodes byte array into list of Cue objects. Parameters:bytes - byte array produced by CueEncoderReturns:decoded list of Cue objects.