onTick

open fun onTick(lastPlayheadPosition: Long, currentPlayheadPosition: Long)

A tick represent an poll from the underlying video player.

Parameters

lastPlayheadPosition

the last playhead position in milliseconds

currentPlayheadPosition

the current playhead position in milliseconds