getCreditAtPosition

fun Player.getCreditAtPosition(positionMs: Long = currentPosition): Credit?

Retrieves the Credit that encompasses the given position in the media playback.

Return

The Credit at the given position, or null if no credit is found at that position.

Parameters

positionMs

The position in the media playback, in milliseconds.