public interface BoxMediaListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
BoxMediaListener.MediaState |
| Modifier and Type | Method and Description |
|---|---|
void |
onControllerVisibilityChanged(boolean isVisible)
Called when the player controller visibility changes.
|
void |
onMediaError(BoxPlayerError error)
Called when a playback error occurs.
|
void |
onMediaStateChanged(BoxMediaListener.MediaState state)
Get notified when the media state changes to one of the states in
BoxMediaListener.MediaState |
void onMediaStateChanged(BoxMediaListener.MediaState state)
BoxMediaListener.MediaStatestate - void onMediaError(BoxPlayerError error)
BoxMediaListener.MediaState.STATE_IDLE
immediately after this method is called.error - BoxPlayerError object.void onControllerVisibilityChanged(boolean isVisible)
isVisible - true if the player controller view is visible, false otherwise