Summary:
Methods
MediaController.MediaPlayerControl
public
static
interface
MediaController.MediaPlayerControl
| android.widget.MediaController.MediaPlayerControl |
Summary
Public methods | |
|---|---|
abstract
boolean
|
canPause()
|
abstract
boolean
|
canSeekBackward()
|
abstract
boolean
|
canSeekForward()
|
abstract
int
|
getAudioSessionId()
Get the audio session id for the player used by this VideoView. |
abstract
int
|
getBufferPercentage()
|
abstract
int
|
getCurrentPosition()
|
abstract
int
|
getDuration()
|
abstract
boolean
|
isPlaying()
|
abstract
void
|
pause()
|
abstract
void
|
seekTo(int pos)
|
abstract
void
|
start()
|
Public methods
canPause
public abstract boolean canPause ()
| Returns | |
|---|---|
boolean |
|
canSeekBackward
public abstract boolean canSeekBackward ()
| Returns | |
|---|---|
boolean |
|
canSeekForward
public abstract boolean canSeekForward ()
| Returns | |
|---|---|
boolean |
|
getAudioSessionId
public abstract int getAudioSessionId ()
Get the audio session id for the player used by this VideoView. This can be used to apply audio effects to the audio track of a video.
| Returns | |
|---|---|
int |
The audio session, or 0 if there was an error. |
getBufferPercentage
public abstract int getBufferPercentage ()
| Returns | |
|---|---|
int |
|
getCurrentPosition
public abstract int getCurrentPosition ()
| Returns | |
|---|---|
int |
|
getDuration
public abstract int getDuration ()
| Returns | |
|---|---|
int |
|
isPlaying
public abstract boolean isPlaying ()
| Returns | |
|---|---|
boolean |
|
pause
public abstract void pause ()
seekTo
public abstract void seekTo (int pos)
| Parameters | |
|---|---|
pos |
int |
start
public abstract void start ()