onTick

open fun onTick(previous: Long, current: Long)

A tick represent an poll from the underlying video player.

Parameters

lastPlayheadPositionMillis

the last playhead position in milliseconds

currentPlayheadPositionMillis

the current playhead position in milliseconds