TTMLParser

Functions

Link copied to clipboard
open override fun detect(input: String): Boolean

Whether input looks like this parser's format.

Link copied to clipboard
open override fun metadata(input: String): LyricMetadata

Reads what the document says about the song beside its lines: so far, its songwriters.

Link copied to clipboard
open override fun parse(input: String, duration: Double = 0.0): List<Lyric>

Reads the document's lines.