com.brightcove.ssai.player

## Interface PlaybackListener

- All Known Implementing Classes:
    TimelineManager

      public interface PlaybackListener

  Listener for playback related events.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onComplete(long duration)` Indicates when the video playback has completed.
    `void` | `onPause(long playheadPosition)` Indicates a pause event.
    `void` | `onPlay(long playheadPosition)` Indicates a play event.

- - ### Method Detail

    - #### onPlay

          void onPlay(long playheadPosition)

      Indicates a play event.
      Parameters:
        `playheadPosition` - the playhead position

    - #### onPause

          void onPause(long playheadPosition)

      Indicates a pause event.
      Parameters:
        `playheadPosition` - the playhead position

    - #### onComplete

          void onComplete(long duration)

      Indicates when the video playback has completed.
      Parameters:
        `duration` - the duration