Interface IMediaPlayerControllerListener
public interface IMediaPlayerControllerListener
Interface use to track all events related to the Control Bar and its changes
-
Field Summary
Fields Modifier and Type Field Description static intMEDIAPLAYERCONTROLLER_BUTTON_CLOSEPlayer Controls event fired when either the cancel or close button is selectedstatic intMEDIAPLAYERCONTROLLER_BUTTON_FULLSCREENPlayer Controls event fired when the fullscreen button is tappedstatic intMEDIAPLAYERCONTROLLER_BUTTON_PAUSEPlayer Controls event fired when the pause button is tappedstatic intMEDIAPLAYERCONTROLLER_BUTTON_PLAYPlayer Controls event fired when the play button is tappedstatic intMEDIAPLAYERCONTROLLER_BUTTON_REPLAYPlayer Controls event fired when the replay button is selectedstatic intMEDIAPLAYERCONTROLLER_BUTTON_SEEKPlayer Controls event fired when the scrub bar position is movedstatic intMEDIAPLAYERCONTROLLER_BUTTON_SHAREPlayer Controls event fired when the share button is selectedstatic intMEDIAPLAYERCONTROLLER_CAPTIONS_OFFPlayer Controls event fired when the captions option has been disabledstatic intMEDIAPLAYERCONTROLLER_CAPTIONS_ONPlayer Controls event fired when the captions option has been enabledstatic intMEDIAPLAYERCONTROLLER_VOLUME_OFFPlayer Controls event fired when the un-mute option is selectedstatic intMEDIAPLAYERCONTROLLER_VOLUME_ONPlayer Controls event fired when the mute option is selected -
Method Summary
Modifier and Type Method Description voidonButtonClicked(int buttonId)Player Controls event fired when any action from the control overlay is triggered
-
Field Details
-
MEDIAPLAYERCONTROLLER_BUTTON_PLAY
static final int MEDIAPLAYERCONTROLLER_BUTTON_PLAYPlayer Controls event fired when the play button is tapped- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_BUTTON_PAUSE
static final int MEDIAPLAYERCONTROLLER_BUTTON_PAUSEPlayer Controls event fired when the pause button is tapped- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_BUTTON_SEEK
static final int MEDIAPLAYERCONTROLLER_BUTTON_SEEKPlayer Controls event fired when the scrub bar position is moved- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_BUTTON_FULLSCREEN
static final int MEDIAPLAYERCONTROLLER_BUTTON_FULLSCREENPlayer Controls event fired when the fullscreen button is tapped- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_CAPTIONS_ON
static final int MEDIAPLAYERCONTROLLER_CAPTIONS_ONPlayer Controls event fired when the captions option has been enabled- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_CAPTIONS_OFF
static final int MEDIAPLAYERCONTROLLER_CAPTIONS_OFFPlayer Controls event fired when the captions option has been disabled- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_VOLUME_ON
static final int MEDIAPLAYERCONTROLLER_VOLUME_ONPlayer Controls event fired when the mute option is selected- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_VOLUME_OFF
static final int MEDIAPLAYERCONTROLLER_VOLUME_OFFPlayer Controls event fired when the un-mute option is selected- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_BUTTON_REPLAY
static final int MEDIAPLAYERCONTROLLER_BUTTON_REPLAYPlayer Controls event fired when the replay button is selected- See Also:
- Constant Field Values
-
MEDIAPLAYERCONTROLLER_BUTTON_CLOSE
static final int MEDIAPLAYERCONTROLLER_BUTTON_CLOSEPlayer 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_SHAREPlayer 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
-