public class PolyvVideoView extends android.widget.FrameLayout implements IPolyvVideoView
| 构造器和说明 | 
|---|
PolyvVideoView(Context context)  | 
PolyvVideoView(Context context,
              AttributeSet attrs)  | 
PolyvVideoView(Context context,
              AttributeSet attrs,
              int defStyleAttr)  | 
PolyvVideoView(Context context,
              AttributeSet attrs,
              int defStyleAttr,
              int defStyleRes)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
void | 
answerQuestion()
回答问题 
 | 
void | 
answerQuestion(java.util.List<java.lang.Integer> indexList)
回答问题 
 | 
void | 
answerQuestionFault()
回答问题错误 
 | 
protected void | 
callOnBufferingUpdateListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                             int arg1)  | 
protected void | 
callOnCompletionListener(IMediaPlayer mediaPlayer)  | 
protected void | 
callOnErrorListener(IMediaPlayer mediaPlayer,
                   int frameworkErr,
                   int implErr,
                   java.lang.String playId,
                   java.lang.String videoId)  | 
protected void | 
callOnErrorListener(IMediaPlayer mediaPlayer,
                   int frameworkErr,
                   int implErr,
                   java.lang.String playId,
                   java.lang.String videoId,
                   java.util.List<java.lang.String> exceptionList)  | 
protected void | 
callOnErrorListener(IMediaPlayer mediaPlayer,
                   int frameworkErr,
                   int implErr,
                   java.lang.String playId,
                   java.lang.String videoId,
                   java.util.List<java.lang.String> exceptionList,
                   java.util.List<java.lang.String> logList)  | 
protected void | 
callOnGestureClickListener(boolean arg0,
                          boolean arg1)  | 
protected void | 
callOnGestureLeftDownListener(boolean arg0,
                             boolean arg1)  | 
protected void | 
callOnGestureLeftUpListener(boolean arg0,
                           boolean arg1)  | 
protected void | 
callOnGestureRightDownListener(boolean arg0,
                              boolean arg1)  | 
protected void | 
callOnGestureRightUpListener(boolean arg0,
                            boolean arg1)  | 
protected void | 
callOnGestureSwipeLeftListener(boolean arg0,
                              boolean arg1)  | 
protected void | 
callOnGestureSwipeRightListener(boolean arg0,
                               boolean arg1)  | 
protected void | 
callOnInfoListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                  int arg1,
                  int arg2)  | 
protected void | 
callOnPlayPauseListenerCompletion()  | 
protected void | 
callOnPlayPauseListenerPause()  | 
protected void | 
callOnPlayPauseListenerPlay()  | 
protected void | 
callOnPreloadPlayListener()  | 
protected void | 
callOnPreparedListener(IMediaPlayer mediaPlayer)  | 
protected void | 
callOnSeekCompleteListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0)  | 
protected void | 
callOnVideoPlayErrorListener(int playErrorReason,
                            java.lang.String playId,
                            java.lang.String videoId)  | 
protected void | 
callOnVideoPlayErrorListener(int playErrorReason,
                            java.lang.String playId,
                            java.lang.String videoId,
                            java.util.List<java.lang.String> exceptionList)  | 
protected void | 
callOnVideoPlayErrorListener(int playErrorReason,
                            java.lang.String playId,
                            java.lang.String videoId,
                            java.util.List<java.lang.String> exceptionList,
                            java.util.List<java.lang.String> logList)  | 
protected void | 
callOnVideoSizeChangedListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                              int arg1,
                              int arg2,
                              int arg3,
                              int arg4)  | 
protected void | 
callOnVideoStatusListener(int arg0)  | 
boolean | 
canPause()
返回true 
 | 
boolean | 
canSeekBackward()
返回true 
 | 
boolean | 
canSeekForward()
返回true 
 | 
boolean | 
canShowControllerToPPTPlayback()
播ppt回放时的控制栏是否应该显示 
 | 
boolean | 
canStart()
是否可以开始 
 | 
boolean | 
changeBitRate(int bitRate)
切换码率
 内部调用switchLevel方法 
 | 
boolean | 
changeBitRate(int bitRate,
             boolean isMustFromLocal)
切换码率
 内部调用switchLevel方法 
 | 
void | 
changeHlsSpeedType(Video.HlsSpeedType hlsSpeedType)
切换播放速度,请使用 
setSpeed(float)设置播放速度 | 
void | 
changeHlsSpeedType(Video.HlsSpeedType hlsSpeedType,
                  boolean isMustFromLocal)
切换播放速度,请使用 
setSpeed(float)设置播放速度 | 
boolean | 
changeSRT(java.lang.String key)
切换字幕 
 | 
void | 
clearCanvasInStart(boolean arg0)  | 
void | 
clearGestureInfo()
清除手势信息 
 | 
protected void | 
clearListener()  | 
void | 
clearOptionParameters()  | 
void | 
closeSound()
关闭声音 
 | 
tv.danmaku.ijk.media.player.IMediaPlayer | 
createPlayer(int arg0)  | 
void | 
deselectTrack(int arg0)  | 
void | 
destroy()
销毁,在最后不使用播放器时调用 
 | 
int | 
getAspectRatio()
取得银幕比率 
 | 
int | 
getAudioSessionId()  | 
PolyvAuxiliaryVideoView | 
getAuxiliaryVideoView()
获取辅助视频播放视图 
 | 
int | 
getBitRate()
取得当前播放的视频码率 
 | 
int | 
getBrightness()
取得系统亮度 
 | 
int | 
getBrightness(Activity activity)
取得当前窗口亮度 
 | 
int | 
getBufferPercentage()
取得视频缓存百分比 
 | 
int | 
getCurrentAspectRatio()  | 
int | 
getCurrentPosition()
取得视频播放进度当前位置 
 | 
int | 
getCurrentState()  | 
java.lang.String | 
getCurrentVid()
取得当前视频Id 
 | 
java.lang.String | 
getCurrentVideoId()
取得当前视频id 
 | 
java.lang.String | 
getCurrSRTKey()
取得当前字幕的key 
 | 
int | 
getDuration()
取得总时长 
 | 
GestureDetector | 
getGestureDetector()
获取GestureDetector 
 | 
Video.HlsSpeedType | 
getHlsSpeedType()
获取倍速类型,请使用 
setSpeed(float)设置播放速度 | 
int | 
getLevel()
获取码率数量 
 | 
PolyvBaseMediaController | 
getMediaController()
取得播放器控制栏 
 | 
IMediaPlayer | 
getMediaPlayer()
已过时。  
 | 
boolean | 
getNeedGestureDetector()
取得是否需要手势 
 | 
protected IPolyvOnAdvertisementCountDownListener | 
getOnAdvertisementCountDownListener()  | 
protected IPolyvOnAdvertisementEventListener | 
getOnAdvertisementEventListener()  | 
protected IPolyvOnAdvertisementEventListener2 | 
getOnAdvertisementEventListener2()  | 
protected IPolyvOnAdvertisementOutListener | 
getOnAdvertisementOutListener()  | 
protected IPolyvOnAdvertisementOutListener2 | 
getOnAdvertisementOutListener2()  | 
protected IPolyvOnTeaserCountDownListener | 
getOnTeaserCountDownListener()  | 
protected IPolyvOnTeaserOutListener | 
getOnTeaserOutListener()  | 
com.easefun.polyvsdk.ijk.widget.media.IRenderView | 
getRenderView()  | 
int | 
getSelectedTrack(int arg0)  | 
float | 
getSpeed()
获取播放速度 
 | 
int | 
getStateIdleCode()  | 
int | 
getStatePauseCode()  | 
int | 
getStatePlaybackCompletedCode()  | 
int | 
getStatePreparedCode()  | 
int | 
getStatePreparingCode()  | 
int | 
getStayTimeDuration()
取得停留时长 
 | 
android.view.SurfaceHolder | 
getSurfaceHolder()  | 
tv.danmaku.ijk.media.player.misc.ITrackInfo[] | 
getTrackInfo()  | 
Video | 
getVideo()
取得当前播放的视频Video 
 | 
int | 
getVideoHeight()  | 
int | 
getVideoWidth()  | 
java.lang.String | 
getViewerId()
取得观众id 
 | 
java.lang.String | 
getViewLogParam1()  | 
java.lang.String | 
getViewLogParam2()  | 
java.lang.String | 
getViewLogParam3()  | 
java.lang.String | 
getViewLogParam4()  | 
java.lang.String | 
getViewLogParam5()  | 
int | 
getVolume()
取得音量 
 | 
int | 
getWatchTimeDuration()
取得观看时长,只有在播放中才会计数 
 | 
protected void | 
initIPolyvIjkVideoView(IPolyvIjkVideoView arg0)  | 
boolean | 
isBufferState()
当前是否在缓冲中 
 | 
boolean | 
isCompletedState()
当前是否播放完成 
 | 
boolean | 
isInPlaybackState()
是否在播放状态,包括准备好,播放,缓冲,暂停,播放完成 
 | 
boolean | 
isInPlaybackStateForwarding()  | 
boolean | 
isLocalPlay()
是否本地播放 
 | 
boolean | 
isOpenPreload()
是否开启预加载 
 | 
boolean | 
isOpenSound()
是否开启声音 
 | 
boolean | 
isPauseState()
当前是否在暂停中 
 | 
boolean | 
isPausState()
 | 
boolean | 
isPlaying()
是否播放中,包括暂停,缓冲 
 | 
boolean | 
isPlayStageMain()
是否是播放主视频阶段 
 | 
boolean | 
isPlayState()
当前是否在播放中(不包括缓冲状态) 
 | 
boolean | 
isPlayState(boolean isAndBuffer)
当前是否在播放中 
 | 
boolean | 
isPPTResume()
ppt是否处于resume状态 
 | 
boolean | 
isPreparedState()
当前是否在准备中 
 | 
void | 
onActivityResume()
 | 
boolean | 
onActivityStop()
 | 
protected void | 
onConfigurationChanged(Configuration newConfig)  | 
boolean | 
onKeyDown(int keyCode,
         KeyEvent event)  | 
boolean | 
onPPTLiveTranTouchEvent(MotionEvent event,
                       int width)
传递手势事件,仅ppt回放使用。 
 | 
boolean | 
onTouchEvent(MotionEvent event)  | 
boolean | 
onTrackballEvent(MotionEvent ev)  | 
protected void | 
onWindowVisibilityChanged(int visibility)  | 
void | 
openSound()
开启声音 
 | 
void | 
pause()
暂停 
 | 
void | 
pause(boolean isNotShowAdvert)
弹出问答界面前会调用pause来暂停视频,这个时候不需要出发暂停广告。 
 | 
void | 
playNext()
已过时。  
 | 
void | 
PPTLiveLayoutChange()
ppt回放界面的布局发生变化时,可以调用该方法把播放器放到右上角 
 | 
void | 
PPTLiveLayoutResume()
ppt回放界面的布局恢复到原来时,可以调用该方法把播放器放回到原来的位置 
 | 
void | 
release()
释放 
 | 
void | 
release(boolean cleartargetstate)  | 
void | 
releaseWithoutStop()  | 
void | 
resume()  | 
void | 
seekTo(int pos)
跳转到 
 | 
void | 
seekTo(long pos)
跳转 
 | 
void | 
selectTrack(int arg0)  | 
boolean | 
setAspectRatio(int screen)
设置银幕比率 
 | 
void | 
setAutoContinue(boolean isAutoContinue)
设置是否自动续播 
 | 
void | 
setAuxiliaryVideoView(PolyvAuxiliaryVideoView auxiliaryVideoView)
设置辅助视频播放视图 
 | 
void | 
setBrightness(Activity activity,
             int brightness)
设置当前窗口亮度 
 | 
boolean | 
setBrightness(int brightness)
设置系统亮度,需android.permission.WRITE_SETTINGS权限 
 | 
void | 
setCurrentAspectRatio(int arg0)  | 
void | 
setMediaBufferingIndicator(View view)
 | 
void | 
setMediaController(com.easefun.polyvsdk.ijk.widget.media.IMediaController controller)
已过时。  
 | 
void | 
setMediaController(PolyvBaseMediaController mediaController)
设置播放器控制栏 
 | 
void | 
setNeedGestureDetector(boolean need)
设置是否需要手势 
 | 
void | 
setOnAdvertisementCountDownListener(IPolyvOnAdvertisementCountDownListener l)
设置广告倒计时监听回调 
 | 
void | 
setOnAdvertisementEventListener(IPolyvOnAdvertisementEventListener l)
已过时。  
 | 
void | 
setOnAdvertisementEventListener(IPolyvOnAdvertisementEventListener2 l)
设置视频广告显示/点击监听回调 
 | 
void | 
setOnAdvertisementOutListener(IPolyvOnAdvertisementOutListener l)
已过时。  
 | 
void | 
setOnAdvertisementOutListener(IPolyvOnAdvertisementOutListener2 l)
设置广告弹出监听回调 
 | 
void | 
setOnBufferingUpdateListener(IMediaPlayer.OnBufferingUpdateListener l)
已过时。  
 | 
void | 
setOnBufferingUpdateListener(IPolyvOnBufferingUpdateListener l)
已过时。  
 | 
void | 
setOnCompletionListener(IMediaPlayer.OnCompletionListener l)
已过时。  
 | 
void | 
setOnCompletionListener(IPolyvOnCompletionListener l)
已过时。  
 | 
void | 
setOnErrorListener(IMediaPlayer.OnErrorListener l)
已过时。  
 | 
void | 
setOnErrorListener(IPolyvOnErrorListener l)
已过时。  
 | 
void | 
setOnGestureClickListener(IPolyvOnGestureClickListener arg0)
设置手势单击回调 
 | 
void | 
setOnGestureLeftDownListener(IPolyvOnGestureLeftDownListener arg0)
设置手势左向下回调 
 | 
void | 
setOnGestureLeftUpListener(IPolyvOnGestureLeftUpListener arg0)
设置手势左向上回调 
 | 
void | 
setOnGestureRightDownListener(IPolyvOnGestureRightDownListener arg0)
设置手势右向下回调 
 | 
void | 
setOnGestureRightUpListener(IPolyvOnGestureRightUpListener arg0)
设置手势右向上回调 
 | 
void | 
setOnGestureSwipeLeftListener(IPolyvOnGestureSwipeLeftListener arg0)
设置手势左滑回调 
 | 
void | 
setOnGestureSwipeRightListener(IPolyvOnGestureSwipeRightListener arg0)
设置手势右滑回调 
 | 
void | 
setOnInfoListener(IMediaPlayer.OnInfoListener l)
已过时。  
 | 
void | 
setOnInfoListener(IPolyvOnInfoListener l)
已过时。  
 | 
void | 
setOnPlayPauseListener(IPolyvOnPlayPauseListener arg0)
设置视频播放/暂停/播放完成回调 
 | 
void | 
setOnPreloadPlayListener(com.easefun.polyvsdk.video.listener.IPolyvOnPreloadPlayListener arg0)
设置预加载播放回调 
 | 
void | 
setOnPreparedListener(IMediaPlayer.OnPreparedListener l)
已过时。  
 | 
void | 
setOnPreparedListener(IPolyvOnPreparedListener l)
已过时。  
 | 
void | 
setOnQuestionAnswerTipsListener(IPolyvOnQuestionAnswerTipsListener l)
设置问答答错提示监听回调,告诉此时应该弹出提示 
 | 
void | 
setOnQuestionOutListener(IPolyvOnQuestionOutListener l)
已过时。  
 | 
void | 
setOnQuestionOutListener(IPolyvOnQuestionOutListener2 l)
设置问答弹出监听回调,告诉此时应该弹出问答 
 | 
void | 
setOnSeekCompleteListener(IPolyvOnSeekCompleteListener l)
已过时。  
 | 
void | 
setOnSeekCompleteListener(IPolyvOnSeekCompleteListener2 arg0)
设置seek完成回调 
 | 
void | 
setOnTeaserCountDownListener(IPolyvOnTeaserCountDownListener l)
设置片头倒计时监听回调 
 | 
void | 
setOnTeaserOutListener(IPolyvOnTeaserOutListener l)
设置片头弹出监听回调 
 | 
void | 
setOnVideoPlayErrorLisener(IPolyvOnVideoPlayErrorListener l)
已过时。  
 | 
void | 
setOnVideoPlayErrorListener(IPolyvOnVideoPlayErrorListener l)
已过时。  
 | 
void | 
setOnVideoPlayErrorListener(IPolyvOnVideoPlayErrorListener2 l)
设置视频非播放器内部错误回调 
 | 
void | 
setOnVideoSizeChangedListener(IPolyvOnVideoSizeChangedListener l)
已过时。  
 | 
void | 
setOnVideoSizeChangedListener(IPolyvOnVideoSizeChangedListener2 arg0)
设置视频尺寸改变回调 
 | 
void | 
setOnVideoSRTListener(IPolyvOnVideoSRTListener l)
设置字幕监听回调 
 | 
void | 
setOnVideoStatusListener(IPolyvOnVideoStatusListener arg0)
设置视频状态回调 
 | 
void | 
setOpenAd(boolean isOpenAd)
设置是否开启广告 
 | 
void | 
setOpenPreload(boolean isOpenPreload)
设置是否开启预加载 
 | 
void | 
setOpenPreload(boolean isOpenPreload,
              int preloadSecond)
设置是否开启预加载 
 | 
void | 
setOpenQuestion(boolean isOpenQuestion)
设置是否开启问答 
 | 
void | 
setOpenSRT(boolean isOpenSRT)
设置是否开启字幕 
 | 
void | 
setOpenTeaser(boolean isOpenTeaser)
设置是否开启片头 
 | 
void | 
setOptionParameters(java.lang.Object[][] arg0)  | 
void | 
setPlayerBufferingIndicator(View view)
设置播放器缓冲视图 
 | 
void | 
setPlayerBufferingViewVisibility(int visibility)
设置视频缓冲视图可见性 
 | 
void | 
setPPTLiveDrawView(IPolyvLivePPTView pptView,
                  boolean isLifeBeControlledByVideoView)
设置ppt绘制控件 
 | 
void | 
setPPTStatus(boolean isPPTResume)
设置ppt的状态 
 | 
void | 
setPPTVid(java.lang.String videoId,
         int bitRate,
         boolean isMustFromLocal)
设置ppt回放视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setPPTVideoURI(Uri uri)
设置ppt回放视频uri播放视频 
 | 
void | 
setQuestionAnswerOverdueTime(int month,
                            int day,
                            int hour)
设置问答回答过期时间,默认是7天,回答会被缓存在数据库中,都设置为0表示不保存到数据库中 
 | 
void | 
setQuestionOverdueTime(int month,
                      int day,
                      int hour)
设置问答问题过期时间,默认是1天,问题会被缓存在数据库中,都设置为0表示不保存到数据库中 
 | 
void | 
setRender(int arg0)  | 
void | 
setRenderView(com.easefun.polyvsdk.ijk.widget.media.IRenderView arg0)  | 
void | 
setSpeed(float arg0)
设置播放速度 
 | 
void | 
setUserAgent(java.lang.String ua)
已过时。  
 | 
void | 
setVid(java.lang.String videoId)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVid(java.lang.String videoId,
      boolean isMustFromLocal)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVid(java.lang.String videoId,
      boolean isMustFromLocal,
      Video.HlsSpeedType hlsSpeedType)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVid(java.lang.String videoId,
      int bitRateNum)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVid(java.lang.String videoId,
      int bitRateNum,
      boolean isMustFromLocal)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVid(java.lang.String videoId,
      int bitRateNum,
      boolean isMustFromLocal,
      Video.HlsSpeedType hlsSpeedType)
设置视频id播放视频,如果本地存在视频id的文件,并且是完整的,就播放本地视频。 
 | 
void | 
setVideoLayout(int layout)  | 
void | 
setVideoPath(java.lang.String path)
设置视频路径 
 | 
void | 
setVideoURI(Uri uri)
设置视频URI 
 | 
void | 
setViewerId(java.lang.String viewerId)
设置观众id,发送统计日志自动带上此参数 
 | 
void | 
setViewLogParam1(java.lang.String viewLogParam1)
设置view log 的param1 
 | 
void | 
setViewLogParam2(java.lang.String viewLogParam2)
设置view log 的param2 
 | 
void | 
setViewLogParam3(java.lang.String viewLogParam3)
设置view log 的param3 
 | 
void | 
setViewLogParam4(java.lang.String viewLogParam4)
设置view log 的param4 
 | 
void | 
setViewLogParam5(java.lang.String viewLogParam5)
设置view log 的param5 
 | 
void | 
setVolume(int volume)
设置音量 
 | 
void | 
skipQuestion()
跳过问题 
 | 
void | 
start()
开始 
 | 
void | 
stopPlayback()
停止播放 
 | 
void | 
suspend()  | 
boolean | 
switchLevel(int bitRateNum)
切换码率 
 | 
boolean | 
switchLevel(int bitRateNum,
           boolean isMustFromLocal)
切换码率 
 | 
int | 
toggleAspectRatio()  | 
int | 
togglePlayer()  | 
int | 
toggleRender()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanPause, canSeekBackward, canSeekForward, getCurrentPosition, getDuration, isPlayingpublic PolyvVideoView(Context context)
public PolyvVideoView(Context context,
                      AttributeSet attrs)
public PolyvVideoView(Context context,
                      AttributeSet attrs,
                      int defStyleAttr)
public PolyvVideoView(Context context,
                      AttributeSet attrs,
                      int defStyleAttr,
                      int defStyleRes)
public void setVid(java.lang.String videoId)
IPolyvVideoViewIPolyvVideoView.setVid(String, int),就拿上次设置的码率(清晰度)。setVid 在接口中 IPolyvVideoViewvideoId - 视频idpublic void setVid(java.lang.String videoId,
                   boolean isMustFromLocal)
IPolyvVideoViewIPolyvVideoView.setVid(String, int),就拿上次设置的码率(清晰度)。setVid 在接口中 IPolyvVideoViewvideoId - 视频idisMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频public void setVid(java.lang.String videoId,
                   boolean isMustFromLocal,
                   Video.HlsSpeedType hlsSpeedType)
IPolyvVideoViewIPolyvVideoView.setVid(String, int),就拿上次设置的码率(清晰度)。setVid 在接口中 IPolyvVideoViewvideoId - 视频idisMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频hlsSpeedType - 播放速度类型 Video.HlsSpeedType,非加密视频设置此参数没有效果,默认值Video.HlsSpeedType.SPEED_1X。请使用setSpeed(float)设置播放速度public void setVid(java.lang.String videoId,
                   int bitRateNum)
IPolyvVideoViewsetVid 在接口中 IPolyvVideoViewvideoId - 视频idbitRateNum - 码率(清晰度)public void setVid(java.lang.String videoId,
                   int bitRateNum,
                   boolean isMustFromLocal)
IPolyvVideoViewsetVid 在接口中 IPolyvVideoViewvideoId - 视频idbitRateNum - 码率(清晰度)isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频public void setVid(java.lang.String videoId,
                   int bitRateNum,
                   boolean isMustFromLocal,
                   Video.HlsSpeedType hlsSpeedType)
IPolyvVideoViewsetVid 在接口中 IPolyvVideoViewvideoId - 视频idbitRateNum - 码率(清晰度)isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频hlsSpeedType - 播放速度类型 Video.HlsSpeedType,非加密视频设置此参数没有效果,默认值Video.HlsSpeedType.SPEED_1X。请使用setSpeed(float)设置播放速度public void setPPTVid(java.lang.String videoId,
                      int bitRate,
                      boolean isMustFromLocal)
IPolyvVideoViewsetPPTVid 在接口中 IPolyvVideoViewvideoId - 视频idbitRate - 码率(清晰度)isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频public java.lang.String getCurrentVid()
IPolyvVideoViewgetCurrentVid 在接口中 IPolyvVideoViewpublic java.lang.String getCurrentVideoId()
IPolyvVideoViewgetCurrentVideoId 在接口中 IPolyvVideoViewpublic int getBitRate()
IPolyvVideoViewgetBitRate 在接口中 IPolyvVideoViewpublic Video.HlsSpeedType getHlsSpeedType()
IPolyvVideoViewsetSpeed(float)设置播放速度getHlsSpeedType 在接口中 IPolyvVideoViewpublic Video getVideo()
IPolyvVideoViewgetVideo 在接口中 IPolyvVideoViewpublic int getLevel()
IPolyvVideoViewgetLevel 在接口中 IPolyvVideoViewpublic int getWatchTimeDuration()
IPolyvVideoViewgetWatchTimeDuration 在接口中 IPolyvVideoViewpublic int getStayTimeDuration()
IPolyvVideoViewgetStayTimeDuration 在接口中 IPolyvVideoViewpublic boolean isLocalPlay()
IPolyvVideoViewisLocalPlay 在接口中 IPolyvVideoViewpublic boolean isPlayStageMain()
IPolyvVideoViewisPlayStageMain 在接口中 IPolyvVideoViewpublic void setVideoPath(java.lang.String path)
IPolyvIjkVideoViewsetVideoPath 在接口中 IPolyvIjkVideoViewpath - 视频地址public void setVideoURI(Uri uri)
IPolyvIjkVideoViewsetVideoURI 在接口中 IPolyvIjkVideoViewuri - 视频地址public void setPPTVideoURI(Uri uri)
IPolyvVideoViewsetPPTVideoURI 在接口中 IPolyvVideoViewuri - ppt回放视频的uripublic void setPlayerBufferingViewVisibility(int visibility)
visibility - public boolean changeBitRate(int bitRate)
IPolyvVideoViewchangeBitRate 在接口中 IPolyvVideoViewbitRate - - 码率setOnPreparedListener设置的回调监听中,调用IPolyvVideoView.getBitRate()获取码率(清晰度)public boolean changeBitRate(int bitRate,
                             boolean isMustFromLocal)
IPolyvVideoViewchangeBitRate 在接口中 IPolyvVideoViewbitRate - 码率isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频setOnPreparedListener设置的回调监听中,调用IPolyvVideoView.getBitRate()获取码率(清晰度)public boolean switchLevel(int bitRateNum)
IPolyvVideoViewswitchLevel 在接口中 IPolyvVideoViewbitRateNum - 码率setOnPreparedListener设置的回调监听中,调用IPolyvVideoView.getBitRate()获取码率(清晰度)public boolean switchLevel(int bitRateNum,
                           boolean isMustFromLocal)
IPolyvVideoViewswitchLevel 在接口中 IPolyvVideoViewbitRateNum - 码率isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频setOnPreparedListener设置的回调监听中,调用IPolyvVideoView.getBitRate()获取码率(清晰度)public void changeHlsSpeedType(Video.HlsSpeedType hlsSpeedType)
IPolyvVideoViewsetSpeed(float)设置播放速度changeHlsSpeedType 在接口中 IPolyvVideoViewhlsSpeedType - 播放速度类型 Video.HlsSpeedType,非加密视频设置此参数没有效果public void changeHlsSpeedType(Video.HlsSpeedType hlsSpeedType, boolean isMustFromLocal)
IPolyvVideoViewsetSpeed(float)设置播放速度changeHlsSpeedType 在接口中 IPolyvVideoViewhlsSpeedType - 播放速度类型 Video.HlsSpeedType,非加密视频设置此参数没有效果isMustFromLocal - 是否必须从本地播放,本地没有视频文件则回调错误,不去播放网络视频public void pause()
IPolyvMediaPlayerControlpause 在接口中 IPolyvMediaPlayerControlpublic void pause(boolean isNotShowAdvert)
pause 在接口中 PolyvBaseMediaController.MediaPlayerControlisNotShowAdvert - - 是否不显示广告public void seekTo(long pos)
seekTo 在接口中 PolyvBaseMediaController.MediaPlayerControlpos - 时间点,毫秒public void seekTo(int pos)
IPolyvMediaPlayerControlseekTo 在接口中 IPolyvMediaPlayerControlpos - 毫秒public int getBufferPercentage()
IPolyvMediaPlayerControlgetBufferPercentage 在接口中 IPolyvMediaPlayerControlpublic void setViewerId(java.lang.String viewerId)
IPolyvVideoViewsetViewerId 在接口中 IPolyvVideoViewpublic java.lang.String getViewLogParam1()
getViewLogParam1 在接口中 IPolyvVideoViewpublic void setViewLogParam1(java.lang.String viewLogParam1)
IPolyvVideoViewsetViewLogParam1 在接口中 IPolyvVideoViewpublic java.lang.String getViewLogParam2()
getViewLogParam2 在接口中 IPolyvVideoViewpublic void setViewLogParam2(java.lang.String viewLogParam2)
IPolyvVideoViewsetViewLogParam2 在接口中 IPolyvVideoViewpublic java.lang.String getViewLogParam3()
getViewLogParam3 在接口中 IPolyvVideoViewpublic void setViewLogParam3(java.lang.String viewLogParam3)
IPolyvVideoViewsetViewLogParam3 在接口中 IPolyvVideoViewpublic java.lang.String getViewLogParam4()
getViewLogParam4 在接口中 IPolyvVideoViewpublic void setViewLogParam4(java.lang.String viewLogParam4)
IPolyvVideoViewsetViewLogParam4 在接口中 IPolyvVideoViewpublic java.lang.String getViewLogParam5()
getViewLogParam5 在接口中 IPolyvVideoViewpublic void setViewLogParam5(java.lang.String viewLogParam5)
IPolyvVideoViewsetViewLogParam5 在接口中 IPolyvVideoViewpublic java.lang.String getViewerId()
IPolyvVideoViewgetViewerId 在接口中 IPolyvVideoViewpublic void release()
IPolyvVideoViewrelease 在接口中 IPolyvVideoViewpublic void release(boolean cleartargetstate)
release 在接口中 IPolyvIjkVideoViewpublic void start()
start 在接口中 IPolyvMediaPlayerControlpublic void setPPTLiveDrawView(IPolyvLivePPTView pptView,
                               boolean isLifeBeControlledByVideoView)
IPolyvVideoViewsetPPTLiveDrawView 在接口中 IPolyvVideoViewisLifeBeControlledByVideoView - ppt绘制控件的生命周期是否由播放器决定,此时外部无需处理public boolean isPPTResume()
IPolyvVideoViewisPPTResume 在接口中 IPolyvVideoViewpublic void setPPTStatus(boolean isPPTResume)
IPolyvVideoViewsetPPTStatus 在接口中 IPolyvVideoViewpublic boolean canShowControllerToPPTPlayback()
IPolyvVideoViewcanShowControllerToPPTPlayback 在接口中 IPolyvVideoViewpublic void PPTLiveLayoutChange()
IPolyvVideoViewPPTLiveLayoutChange 在接口中 IPolyvVideoViewpublic void PPTLiveLayoutResume()
IPolyvVideoViewPPTLiveLayoutResume 在接口中 IPolyvVideoViewprotected void onConfigurationChanged(Configuration newConfig)
public void clearGestureInfo()
IPolyvVideoViewclearGestureInfo 在接口中 IPolyvVideoViewpublic boolean onPPTLiveTranTouchEvent(MotionEvent event,
                                       int width)
IPolyvVideoViewonPPTLiveTranTouchEvent 在接口中 IPolyvVideoViewpublic boolean onTouchEvent(MotionEvent event)
protected void callOnPreparedListener(IMediaPlayer mediaPlayer)
protected void callOnVideoPlayErrorListener(int playErrorReason,
                                            java.lang.String playId,
                                            java.lang.String videoId)
protected void callOnVideoPlayErrorListener(int playErrorReason,
                                            java.lang.String playId,
                                            java.lang.String videoId,
                                            java.util.List<java.lang.String> exceptionList)
protected void callOnVideoPlayErrorListener(int playErrorReason,
                                            java.lang.String playId,
                                            java.lang.String videoId,
                                            java.util.List<java.lang.String> exceptionList,
                                            java.util.List<java.lang.String> logList)
protected void callOnErrorListener(IMediaPlayer mediaPlayer,
                                   int frameworkErr,
                                   int implErr,
                                   java.lang.String playId,
                                   java.lang.String videoId)
protected void callOnErrorListener(IMediaPlayer mediaPlayer,
                                   int frameworkErr,
                                   int implErr,
                                   java.lang.String playId,
                                   java.lang.String videoId,
                                   java.util.List<java.lang.String> exceptionList)
protected void callOnErrorListener(IMediaPlayer mediaPlayer,
                                   int frameworkErr,
                                   int implErr,
                                   java.lang.String playId,
                                   java.lang.String videoId,
                                   java.util.List<java.lang.String> exceptionList,
                                   java.util.List<java.lang.String> logList)
protected void callOnCompletionListener(IMediaPlayer mediaPlayer)
public boolean onTrackballEvent(MotionEvent ev)
public boolean onKeyDown(int keyCode,
                         KeyEvent event)
protected void onWindowVisibilityChanged(int visibility)
public boolean isOpenSound()
IPolyvVideoViewisOpenSound 在接口中 IPolyvVideoViewpublic void openSound()
IPolyvVideoViewopenSound 在接口中 IPolyvVideoViewpublic void closeSound()
IPolyvVideoViewcloseSound 在接口中 IPolyvVideoViewpublic void setVolume(int volume)
IPolyvVideoViewsetVolume 在接口中 IPolyvVideoViewvolume - - 音量,0 到 100 闭区间的数public int getVolume()
IPolyvVideoViewgetVolume 在接口中 IPolyvVideoViewpublic void setBrightness(Activity activity,
                          int brightness)
IPolyvVideoViewsetBrightness 在接口中 IPolyvVideoViewbrightness - - 亮度,-1 到 100 闭区间的数,如果为-1,那么设置为系统亮度public int getBrightness(Activity activity)
IPolyvVideoViewgetBrightness 在接口中 IPolyvVideoViewpublic boolean setBrightness(int brightness)
IPolyvVideoViewsetBrightness 在接口中 IPolyvVideoViewbrightness - - 亮度,0 到 100 闭区间的数public int getBrightness()
IPolyvVideoViewgetBrightness 在接口中 IPolyvVideoViewpublic boolean canStart()
IPolyvVideoViewcanStart 在接口中 IPolyvVideoViewpublic void setVideoLayout(int layout)
setVideoLayout 在接口中 IPolyvVideoViewIPolyvVideoView.setAspectRatio(int)public boolean setAspectRatio(int screen)
IPolyvVideoViewsetAspectRatio 在接口中 IPolyvVideoViewscreen - 银幕大小public int getAspectRatio()
IPolyvVideoViewgetAspectRatio 在接口中 IPolyvVideoViewPolyvPlayerScreenRatio的常量PolyvPlayerScreenRatiopublic void setPlayerBufferingIndicator(View view)
IPolyvVideoViewsetPlayerBufferingIndicator 在接口中 IPolyvVideoViewpublic void setMediaBufferingIndicator(View view)
IPolyvVideoViewsetMediaBufferingIndicator 在接口中 IPolyvVideoViewpublic void setAuxiliaryVideoView(PolyvAuxiliaryVideoView auxiliaryVideoView)
IPolyvVideoViewsetAuxiliaryVideoView 在接口中 IPolyvVideoViewpublic PolyvAuxiliaryVideoView getAuxiliaryVideoView()
IPolyvVideoViewgetAuxiliaryVideoView 在接口中 IPolyvVideoViewpublic void setMediaController(PolyvBaseMediaController mediaController)
IPolyvVideoViewsetMediaController 在接口中 IPolyvVideoViewpublic PolyvBaseMediaController getMediaController()
IPolyvVideoViewgetMediaController 在接口中 IPolyvVideoViewpublic void setOpenTeaser(boolean isOpenTeaser)
IPolyvVideoViewsetOpenTeaser 在接口中 IPolyvVideoViewisOpenTeaser - true为开启public void setOpenAd(boolean isOpenAd)
IPolyvVideoViewsetOpenAd 在接口中 IPolyvVideoViewisOpenAd - true为开启public void setOpenQuestion(boolean isOpenQuestion)
IPolyvVideoViewsetOpenQuestion 在接口中 IPolyvVideoViewisOpenQuestion - true为开启public void setOpenSRT(boolean isOpenSRT)
IPolyvVideoViewsetOpenSRT 在接口中 IPolyvVideoViewisOpenSRT - true为开启public void setAutoContinue(boolean isAutoContinue)
IPolyvVideoViewsetAutoContinue 在接口中 IPolyvVideoViewisAutoContinue - true为开启public boolean isOpenPreload()
IPolyvVideoViewisOpenPreload 在接口中 IPolyvVideoViewpublic void setOpenPreload(boolean isOpenPreload)
IPolyvVideoViewsetOpenPreload 在接口中 IPolyvVideoViewisOpenPreload - true为开启public void setOpenPreload(boolean isOpenPreload,
                           int preloadSecond)
IPolyvVideoViewsetOpenPreload 在接口中 IPolyvVideoViewisOpenPreload - true为开启preloadSecond - 预加载倒计时临界值(秒),默认值1public void setQuestionOverdueTime(int month,
                                   int day,
                                   int hour)
IPolyvVideoViewsetQuestionOverdueTime 在接口中 IPolyvVideoViewmonth - 月day - 日hour - 时public void setQuestionAnswerOverdueTime(int month,
                                         int day,
                                         int hour)
IPolyvVideoViewsetQuestionAnswerOverdueTime 在接口中 IPolyvVideoViewmonth - 月day - 日hour - 时@Deprecated public void setOnBufferingUpdateListener(IPolyvOnBufferingUpdateListener l)
IPolyvVideoViewListenerEventIPolyvOnBufferingUpdateListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnBufferingUpdateListener(IPolyvOnBufferingUpdateListener2)@Deprecated public void setOnVideoPlayErrorLisener(IPolyvOnVideoPlayErrorListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnVideoPlayErrorListener(IPolyvOnVideoPlayErrorListener l)
IPolyvVideoViewListenerEventpublic void setOnVideoPlayErrorListener(IPolyvOnVideoPlayErrorListener2 l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnCompletionListener(IPolyvOnCompletionListener l)
IPolyvVideoViewListenerEventIPolyvOnCompletionListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnCompletionListener(IPolyvOnCompletionListener2)@Deprecated public void setOnPreparedListener(IPolyvOnPreparedListener l)
IPolyvVideoViewListenerEventIPolyvOnPreparedListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnPreparedListener(IPolyvOnPreparedListener2)@Deprecated public void setOnErrorListener(IPolyvOnErrorListener l)
IPolyvVideoViewListenerEventIPolyvOnErrorListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnErrorListener(IPolyvOnErrorListener2)@Deprecated public void setOnInfoListener(IPolyvOnInfoListener l)
IPolyvVideoViewListenerEventIPolyvOnInfoListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnInfoListener(IPolyvOnInfoListener2)setOnInfoListener 在接口中 IPolyvIjkVideoViewsetOnInfoListener 在接口中 IPolyvVideoViewListenerEventsetOnInfoListener(IPolyvOnInfoListener2)@Deprecated public void setOnSeekCompleteListener(IPolyvOnSeekCompleteListener l)
IPolyvVideoViewListenerEventIPolyvOnSeekCompleteListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnSeekCompleteListener(IPolyvOnSeekCompleteListener2)@Deprecated public void setOnVideoSizeChangedListener(IPolyvOnVideoSizeChangedListener l)
IPolyvVideoViewListenerEventIPolyvOnVideoSizeChangedListener 回调方法中第一个参数对于外部并没有提供什么帮助,避免造成多余困扰,请使用 IPolyvVideoViewListenerEvent.setOnVideoSizeChangedListener(IPolyvOnVideoSizeChangedListener2)public void setOnVideoSRTListener(IPolyvOnVideoSRTListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnAdvertisementOutListener(IPolyvOnAdvertisementOutListener l)
IPolyvVideoViewListenerEventpublic void setOnAdvertisementOutListener(IPolyvOnAdvertisementOutListener2 l)
IPolyvVideoViewListenerEventpublic void setOnAdvertisementCountDownListener(IPolyvOnAdvertisementCountDownListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnAdvertisementEventListener(IPolyvOnAdvertisementEventListener l)
IPolyvVideoViewListenerEventpublic void setOnAdvertisementEventListener(IPolyvOnAdvertisementEventListener2 l)
IPolyvVideoViewListenerEventpublic void setOnTeaserOutListener(IPolyvOnTeaserOutListener l)
IPolyvVideoViewListenerEventpublic void setOnTeaserCountDownListener(IPolyvOnTeaserCountDownListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnQuestionOutListener(IPolyvOnQuestionOutListener l)
IPolyvVideoViewListenerEventpublic void setOnQuestionOutListener(IPolyvOnQuestionOutListener2 l)
IPolyvVideoViewListenerEventpublic void setOnQuestionAnswerTipsListener(IPolyvOnQuestionAnswerTipsListener l)
IPolyvVideoViewListenerEvent@Deprecated public IMediaPlayer getMediaPlayer()
getMediaPlayer 在接口中 IPolyvIjkVideoViewpublic float getSpeed()
IPolyvIjkVideoViewgetSpeed 在接口中 IPolyvIjkVideoViewpublic void destroy()
IPolyvVideoViewdestroy 在接口中 IPolyvVideoViewpublic boolean changeSRT(java.lang.String key)
IPolyvVideoViewchangeSRT 在接口中 IPolyvVideoViewpublic java.lang.String getCurrSRTKey()
IPolyvVideoViewgetCurrSRTKey 在接口中 IPolyvVideoViewpublic void answerQuestion()
IPolyvVideoViewanswerQuestion 在接口中 IPolyvVideoViewpublic void answerQuestion(java.util.List<java.lang.Integer> indexList)
IPolyvVideoViewanswerQuestion 在接口中 IPolyvVideoViewindexList - 选中的下标列表,0开始public void answerQuestionFault()
IPolyvVideoViewanswerQuestionFault 在接口中 IPolyvVideoViewpublic void skipQuestion()
IPolyvVideoViewskipQuestion 在接口中 IPolyvVideoViewpublic GestureDetector getGestureDetector()
IPolyvVideoViewgetGestureDetector 在接口中 IPolyvVideoViewpublic boolean getNeedGestureDetector()
IPolyvVideoViewgetNeedGestureDetector 在接口中 IPolyvVideoViewpublic void setNeedGestureDetector(boolean need)
IPolyvVideoViewsetNeedGestureDetector 在接口中 IPolyvVideoViewpublic boolean isPreparedState()
IPolyvVideoViewisPreparedState 在接口中 IPolyvVideoViewpublic boolean isPlayState()
IPolyvVideoViewisPlayState 在接口中 IPolyvVideoViewpublic boolean isPlayState(boolean isAndBuffer)
IPolyvVideoViewisPlayState 在接口中 IPolyvVideoViewisAndBuffer - 是否包括缓冲状态,默认为falsepublic boolean isInPlaybackState()
IPolyvVideoViewisInPlaybackState 在接口中 IPolyvVideoViewpublic boolean isPausState()
IPolyvVideoViewisPausState 在接口中 IPolyvVideoViewIPolyvVideoView.isPauseState()public boolean isPauseState()
IPolyvVideoViewisPauseState 在接口中 IPolyvVideoViewpublic boolean isBufferState()
IPolyvVideoViewisBufferState 在接口中 IPolyvVideoViewpublic boolean isCompletedState()
IPolyvVideoViewisCompletedState 在接口中 IPolyvVideoViewpublic void onActivityResume()
IPolyvVideoViewonActivityResume 在接口中 IPolyvVideoViewpublic boolean onActivityStop()
IPolyvVideoViewonActivityStop 在接口中 IPolyvVideoView@Deprecated public void setOnCompletionListener(IMediaPlayer.OnCompletionListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnErrorListener(IMediaPlayer.OnErrorListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnInfoListener(IMediaPlayer.OnInfoListener l)
IPolyvVideoViewListenerEventsetOnInfoListener 在接口中 IPolyvIjkVideoViewsetOnInfoListener 在接口中 IPolyvVideoViewListenerEventsetOnInfoListener(IPolyvOnInfoListener)@Deprecated public void setOnPreparedListener(IMediaPlayer.OnPreparedListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setOnBufferingUpdateListener(IMediaPlayer.OnBufferingUpdateListener l)
IPolyvVideoViewListenerEvent@Deprecated public void setMediaController(com.easefun.polyvsdk.ijk.widget.media.IMediaController controller)
IPolyvVideoView@Deprecated public void playNext()
IPolyvVideoViewplayNext 在接口中 IPolyvVideoView@Deprecated public void setUserAgent(java.lang.String ua)
IPolyvVideoViewsetUserAgent 在接口中 IPolyvVideoViewpublic void setOnPlayPauseListener(IPolyvOnPlayPauseListener arg0)
IPolyvVideoViewListenerEventpublic void setOnPreloadPlayListener(com.easefun.polyvsdk.video.listener.IPolyvOnPreloadPlayListener arg0)
IPolyvVideoViewListenerEventpublic void setOnVideoStatusListener(IPolyvOnVideoStatusListener arg0)
IPolyvVideoViewListenerEventpublic void setOnSeekCompleteListener(IPolyvOnSeekCompleteListener2 arg0)
IPolyvVideoViewListenerEventpublic void setOnVideoSizeChangedListener(IPolyvOnVideoSizeChangedListener2 arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureLeftUpListener(IPolyvOnGestureLeftUpListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureLeftDownListener(IPolyvOnGestureLeftDownListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureRightUpListener(IPolyvOnGestureRightUpListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureRightDownListener(IPolyvOnGestureRightDownListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureSwipeLeftListener(IPolyvOnGestureSwipeLeftListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureSwipeRightListener(IPolyvOnGestureSwipeRightListener arg0)
IPolyvVideoViewListenerEventpublic void setOnGestureClickListener(IPolyvOnGestureClickListener arg0)
IPolyvVideoViewListenerEventprotected void callOnBufferingUpdateListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                                             int arg1)
protected void callOnPlayPauseListenerPlay()
protected void callOnPlayPauseListenerPause()
protected void callOnPlayPauseListenerCompletion()
protected void callOnPreloadPlayListener()
protected void callOnVideoStatusListener(int arg0)
protected void callOnInfoListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                                  int arg1,
                                  int arg2)
protected void callOnSeekCompleteListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0)
protected void callOnVideoSizeChangedListener(tv.danmaku.ijk.media.player.IMediaPlayer arg0,
                                              int arg1,
                                              int arg2,
                                              int arg3,
                                              int arg4)
protected void callOnGestureLeftUpListener(boolean arg0,
                                           boolean arg1)
protected void callOnGestureLeftDownListener(boolean arg0,
                                             boolean arg1)
protected void callOnGestureRightUpListener(boolean arg0,
                                            boolean arg1)
protected void callOnGestureRightDownListener(boolean arg0,
                                              boolean arg1)
protected void callOnGestureSwipeLeftListener(boolean arg0,
                                              boolean arg1)
protected void callOnGestureSwipeRightListener(boolean arg0,
                                               boolean arg1)
protected void callOnGestureClickListener(boolean arg0,
                                          boolean arg1)
protected IPolyvOnAdvertisementOutListener getOnAdvertisementOutListener()
protected IPolyvOnAdvertisementOutListener2 getOnAdvertisementOutListener2()
protected IPolyvOnAdvertisementCountDownListener getOnAdvertisementCountDownListener()
protected IPolyvOnAdvertisementEventListener getOnAdvertisementEventListener()
protected IPolyvOnAdvertisementEventListener2 getOnAdvertisementEventListener2()
protected IPolyvOnTeaserOutListener getOnTeaserOutListener()
protected IPolyvOnTeaserCountDownListener getOnTeaserCountDownListener()
protected void clearListener()
protected void initIPolyvIjkVideoView(IPolyvIjkVideoView arg0)
public int getDuration()
IPolyvMediaPlayerControlgetDuration 在接口中 IPolyvMediaPlayerControlpublic int getCurrentPosition()
IPolyvMediaPlayerControlgetCurrentPosition 在接口中 IPolyvMediaPlayerControlpublic boolean isPlaying()
IPolyvMediaPlayerControlisPlaying 在接口中 IPolyvMediaPlayerControlpublic boolean canPause()
IPolyvMediaPlayerControlcanPause 在接口中 IPolyvMediaPlayerControlpublic boolean canSeekBackward()
IPolyvMediaPlayerControlcanSeekBackward 在接口中 IPolyvMediaPlayerControlpublic boolean canSeekForward()
IPolyvMediaPlayerControlcanSeekForward 在接口中 IPolyvMediaPlayerControlpublic int getAudioSessionId()
public void setRenderView(com.easefun.polyvsdk.ijk.widget.media.IRenderView arg0)
setRenderView 在接口中 IPolyvIjkVideoViewpublic void setRender(int arg0)
setRender 在接口中 IPolyvIjkVideoViewpublic void stopPlayback()
IPolyvIjkVideoViewstopPlayback 在接口中 IPolyvIjkVideoViewpublic void releaseWithoutStop()
releaseWithoutStop 在接口中 IPolyvIjkVideoViewpublic void suspend()
suspend 在接口中 IPolyvIjkVideoViewpublic void resume()
resume 在接口中 IPolyvIjkVideoViewpublic int toggleAspectRatio()
toggleAspectRatio 在接口中 IPolyvIjkVideoViewpublic int toggleRender()
toggleRender 在接口中 IPolyvIjkVideoViewpublic int togglePlayer()
togglePlayer 在接口中 IPolyvIjkVideoViewpublic tv.danmaku.ijk.media.player.IMediaPlayer createPlayer(int arg0)
createPlayer 在接口中 IPolyvIjkVideoViewpublic tv.danmaku.ijk.media.player.misc.ITrackInfo[] getTrackInfo()
getTrackInfo 在接口中 IPolyvIjkVideoViewpublic void selectTrack(int arg0)
selectTrack 在接口中 IPolyvIjkVideoViewpublic void deselectTrack(int arg0)
deselectTrack 在接口中 IPolyvIjkVideoViewpublic int getSelectedTrack(int arg0)
getSelectedTrack 在接口中 IPolyvIjkVideoViewpublic boolean isInPlaybackStateForwarding()
public com.easefun.polyvsdk.ijk.widget.media.IRenderView getRenderView()
getRenderView 在接口中 IPolyvIjkVideoViewpublic int getCurrentAspectRatio()
getCurrentAspectRatio 在接口中 IPolyvIjkVideoViewpublic void setCurrentAspectRatio(int arg0)
setCurrentAspectRatio 在接口中 IPolyvIjkVideoViewpublic int getVideoWidth()
getVideoWidth 在接口中 IPolyvIjkVideoViewpublic int getVideoHeight()
getVideoHeight 在接口中 IPolyvIjkVideoViewpublic android.view.SurfaceHolder getSurfaceHolder()
getSurfaceHolder 在接口中 IPolyvIjkVideoViewpublic void setSpeed(float arg0)
IPolyvIjkVideoViewsetSpeed 在接口中 IPolyvIjkVideoViewarg0 - 播放速度,最好不要超过2public int getStateIdleCode()
getStateIdleCode 在接口中 IPolyvIjkVideoViewpublic int getStatePreparingCode()
getStatePreparingCode 在接口中 IPolyvIjkVideoViewpublic int getStatePreparedCode()
getStatePreparedCode 在接口中 IPolyvIjkVideoViewpublic int getStatePauseCode()
getStatePauseCode 在接口中 IPolyvIjkVideoViewpublic int getStatePlaybackCompletedCode()
public int getCurrentState()
getCurrentState 在接口中 IPolyvIjkVideoViewpublic void setOptionParameters(java.lang.Object[][] arg0)
setOptionParameters 在接口中 IPolyvIjkVideoViewpublic void clearOptionParameters()
clearOptionParameters 在接口中 IPolyvIjkVideoViewpublic void clearCanvasInStart(boolean arg0)
clearCanvasInStart 在接口中 IPolyvIjkVideoView