prepareDFXPCaptions

open fun prepareDFXPCaptions(document: TTMLDocument)

Prepares the rendered View blocks for all captions listed in the given TTMLDocument. This initially clears the state of the current caption blocks and time position mapping.

Parameters

document

the TTMLDocument containing the captions to prepare