Interface IMediaPlayerControllerListener


public interface IMediaPlayerControllerListener
Interface use to track all events related to the Control Bar and its changes
  • Field Details

    • MEDIAPLAYERCONTROLLER_BUTTON_PLAY

      static final int MEDIAPLAYERCONTROLLER_BUTTON_PLAY
      Player Controls event fired when the play button is tapped
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_PAUSE

      static final int MEDIAPLAYERCONTROLLER_BUTTON_PAUSE
      Player Controls event fired when the pause button is tapped
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_SEEK

      static final int MEDIAPLAYERCONTROLLER_BUTTON_SEEK
      Player Controls event fired when the scrub bar position is moved
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_FULLSCREEN

      static final int MEDIAPLAYERCONTROLLER_BUTTON_FULLSCREEN
      Player Controls event fired when the fullscreen button is tapped
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_CAPTIONS_ON

      static final int MEDIAPLAYERCONTROLLER_CAPTIONS_ON
      Player Controls event fired when the captions option has been enabled
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_CAPTIONS_OFF

      static final int MEDIAPLAYERCONTROLLER_CAPTIONS_OFF
      Player Controls event fired when the captions option has been disabled
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_VOLUME_ON

      static final int MEDIAPLAYERCONTROLLER_VOLUME_ON
      Player Controls event fired when the mute option is selected
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_VOLUME_OFF

      static final int MEDIAPLAYERCONTROLLER_VOLUME_OFF
      Player Controls event fired when the un-mute option is selected
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_REPLAY

      static final int MEDIAPLAYERCONTROLLER_BUTTON_REPLAY
      Player Controls event fired when the replay button is selected
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_CLOSE

      static final int MEDIAPLAYERCONTROLLER_BUTTON_CLOSE
      Player Controls event fired when either the cancel or close button is selected
      See Also:
      Constant Field Values
    • MEDIAPLAYERCONTROLLER_BUTTON_SHARE

      static final int MEDIAPLAYERCONTROLLER_BUTTON_SHARE
      Player Controls event fired when the share button is selected
      See Also:
      Constant Field Values
  • Method Details

    • onButtonClicked

      void onButtonClicked​(int buttonId)
      Player Controls event fired when any action from the control overlay is triggered
      Parameters:
      buttonId - Identifier of the button ot action causing the event change