public interface BoxMediaControls
| Modifier and Type | Interface and Description |
|---|---|
static class |
BoxMediaControls.BoxMediaState |
static interface |
BoxMediaControls.MediaListener |
| Modifier and Type | Method and Description |
|---|---|
void |
addMediaListener(BoxMediaControls.MediaListener listener) |
boolean |
canPause() |
boolean |
canSeekBackward() |
boolean |
canSeekForward() |
void |
clearMediaListeners() |
int |
getBufferPercentage() |
int |
getCurrentPosition() |
int |
getDuration() |
boolean |
isPlaying() |
void |
pause() |
void |
removeMediaListener(BoxMediaControls.MediaListener listener) |
void |
seekTo(int pos) |
void |
start() |
void start()
void pause()
int getDuration()
int getCurrentPosition()
void seekTo(int pos)
boolean isPlaying()
int getBufferPercentage()
boolean canPause()
boolean canSeekBackward()
boolean canSeekForward()
void addMediaListener(BoxMediaControls.MediaListener listener)
void removeMediaListener(BoxMediaControls.MediaListener listener)
void clearMediaListeners()