isActive

fun isActive(currentTimeMs: Long): Boolean

Checks if this subtitle cue should be displayed at the given time.

Return

True if the cue should be displayed, false otherwise

Parameters

currentTimeMs

The current playback time in milliseconds