public interface IPolyvMediaPlayerControl
限定符和类型 | 方法和说明 |
---|---|
boolean |
canPause()
返回true
|
boolean |
canSeekBackward()
返回true
|
boolean |
canSeekForward()
返回true
|
int |
getBufferPercentage()
取得视频缓存百分比
|
int |
getCurrentPosition()
取得视频播放进度当前位置
|
int |
getDuration()
取得总时长
|
boolean |
isPlaying()
是否播放中,包括暂停,缓冲
|
void |
pause()
暂停
|
void |
seekTo(int pos)
跳转到
|
void |
start()
开始
|
void start()
void pause()
int getDuration()
int getCurrentPosition()
void seekTo(int pos)
pos
- 毫秒boolean isPlaying()
int getBufferPercentage()
boolean canPause()
boolean canSeekBackward()
boolean canSeekForward()