getOffset

open override fun getOffset(unit: TimeUnit): Long

Gets the current playback offset

Return

the current offset in seconds

Parameters

unit

the unit of offset which return (default=TimeUnit.SECONDS)