Package 

Interface PlaybackListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onPlay(long playheadPosition) Indicates a play event.
      abstract void onPause(long playheadPosition) Indicates a pause event.
      abstract void onComplete(long duration) Indicates when the video playback has completed.
      • Methods inherited from class java.lang.Object

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

      • onPlay

         abstract void onPlay(long playheadPosition)

        Indicates a play event.

        Parameters:
        playheadPosition - the playhead position
      • onPause

         abstract void onPause(long playheadPosition)

        Indicates a pause event.

        Parameters:
        playheadPosition - the playhead position
      • onComplete

         abstract void onComplete(long duration)

        Indicates when the video playback has completed.

        Parameters:
        duration - the duration