SubtitleTypesetterProvider

An optional typesetting module's discovery entry. Construction must do no work: providers are instantiated on every player that meets an ASS track, and only create may load a library or scan fonts. Returning null from create means this build cannot typeset here, for example a desktop JVM with no native library for its operating system; the engine then keeps the Kotlin tier and says so once through a warning.

Properties

Link copied to clipboard
abstract val id: String

Stable unique identifier. With several installed, the lowest identifier wins.

Functions

Link copied to clipboard
abstract fun create(): SubtitleTypesetter?

Creates one typesetter for one player session, or null when this platform build has none.