SubtitleDecoder
@UnstableApi
interface SubtitleDecoder : Decoder
Cea608Decoder |
A |
Cea708Decoder |
A |
SimpleSubtitleDecoder |
Base class for subtitle parsers that use their own decode thread. |
Decodes Subtitles from SubtitleInputBuffers.
Summary
Public functions |
|
|---|---|
Unit |
setPositionUs(positionUs: Long)Informs the decoder of the current playback position. |
Inherited functions |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public functions
setPositionUs
fun setPositionUs(positionUs: Long): Unit
Informs the decoder of the current playback position.
Must be called prior to each attempt to dequeue output buffers from the decoder.
| Parameters | |
|---|---|
positionUs: Long |
The current playback position in microseconds. |