Package 

Interface TickerObserver


  • 
    public interface TickerObserver
    
                        

    The Ticker observer which receives updates of the last and current playhead position.

    • Method Summary

      Modifier and Type Method Description
      abstract void onTick(long lastPlayheadPosition, long currentPlayheadPosition) A tick represent an poll from the underlying video player.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onTick

         abstract void onTick(long lastPlayheadPosition, long currentPlayheadPosition)

        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