getCurrentTime

abstract fun getCurrentTime(): Duration

Returns the current playhead of the current track. Note: Implementations must preserve the value with at least millisecond precision.

Return

The track duration as a Duration