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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onTick​(long lastPlayheadPositionMillis, long currentPlayheadPositionMillis)
      A tick represent an poll from the underlying video player.
    • Method Detail

      • 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