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 Type
    Method
    Description
    void
    onTick(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 milliseconds
      currentPlayheadPositionMillis - the current playhead position in milliseconds