Interface TickerObserver
- All Known Implementing Classes:
TimedTracker,TimelineManager
public interface TickerObserver
The Ticker observer which receives updates of the last and current playhead position.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTick(long lastPlayheadPositionMillis, long currentPlayheadPositionMillis) A tick represent an poll from the underlying video player.
-
Method Details
-
onTick
void onTick(long lastPlayheadPositionMillis, long currentPlayheadPositionMillis) A tick represent an poll from the underlying video player.- Parameters:
lastPlayheadPositionMillis- the last playhead position in millisecondscurrentPlayheadPositionMillis- the current playhead position in milliseconds
-