getBlockedTimeRangeAtPosition

open fun getBlockedTimeRangeAtPosition(positionMs: Long = currentPosition): BlockedTimeRange?

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

Return

The BlockedTimeRange at the given position, or null if no blocked time range is found at that position.

Parameters

positionMs

The position in the media playback, in milliseconds.