onTick

abstract fun onTick(lastPlayheadPositionMillis: Long, currentPlayheadPositionMillis: 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