MediaController.MediaPlayerControl
public static interface MediaController.MediaPlayerControl
android.widget.MediaController.MediaPlayerControl |
Known Indirect Subclasses
|
Summary
Public methods
canPause
boolean canPause ()
canSeekBackward
boolean canSeekBackward ()
canSeekForward
boolean canSeekForward ()
getAudioSessionId
int getAudioSessionId ()
获取此VideoView使用的播放器的音频会话ID。 这可用于将音频效果应用于视频的音轨。
Returns |
int |
The audio session, or 0 if there was an error. |
getBufferPercentage
int getBufferPercentage ()
getCurrentPosition
int getCurrentPosition ()
getDuration
int getDuration ()
isPlaying
boolean isPlaying ()
seekTo
void seekTo (int pos)