getAbsolutePlayheadPosition

abstract fun getAbsolutePlayheadPosition(contentPlayheadPosition: Long): Long

Converts the relative content position to its absolute playhead position.

The content playhead position should be greater than 0 and lower or equals than getContentLength, otherwise the value will be capped to the nearest limit, that is, negative values will be capped to 0 and values greater than getContentLength will be capped to getContentLength.

Return

the the absolute playhead position in milliseconds.

Parameters

contentPlayheadPosition

the relative content playhead position in milliseconds.