- OldVideoPlayer - com.yc.video.old.player中的类
-
已过时。
- OldVideoPlayer(Context) - 类 的构造器com.yc.video.old.player.OldVideoPlayer
-
已过时。
- OldVideoPlayer(Context, AttributeSet) - 类 的构造器com.yc.video.old.player.OldVideoPlayer
-
已过时。
- OldVideoPlayer(Context, AttributeSet, int) - 类 的构造器com.yc.video.old.player.OldVideoPlayer
-
已过时。
- onAttachedToWindow() - 类 中的方法com.yc.video.controller.BaseVideoController
-
- onAttachedToWindow() - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
- onAttachedToWindow() - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
- onAttachedToWindow() - 类 中的方法com.yc.video.player.VideoPlayer
-
- onAttachedToWindow() - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onAudioFocusChange(int) - 类 中的方法com.yc.video.player.AudioFocusHelper
-
- onBackPress(String) - 类 中的方法com.yc.video.player.VideoViewManager
-
- onBackPress() - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
- onBackPressed() - 类 中的方法com.yc.video.controller.BaseVideoController
-
改变返回键逻辑,用于activity
- onBackPressed() - 类 中的方法com.yc.video.old.dialog.ChangeClarityDialog
-
已过时。
- onBackPressed() - 类 中的方法com.yc.video.old.other.VideoPlayerManager
-
已过时。
处理返回键逻辑
如果是全屏,则退出全屏
如果是小窗口,则退出小窗口
- onBackPressed() - 类 中的方法com.yc.video.player.VideoPlayer
-
改变返回键逻辑,用于activity
- onBackPressed() - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
- onBatterStateChanged(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
当电量发生变化的时候,在此方法中国你更新不同的电量状态的UI
- onBatterStateChanged(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
当电量发生变化的时候,在此方法中国你更新不同的电量状态的UI
- onBrightnessChange(int) - 接口 中的方法com.yc.video.controller.IGestureComponent
-
滑动调整亮度
- onBrightnessChange(int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onClarityChanged(int) - 接口 中的方法com.yc.video.old.listener.OnClarityChangedListener
-
已过时。
切换清晰度后回调
- OnClarityChangedListener - com.yc.video.old.listener中的接口
-
已过时。
- onClarityNotChanged() - 接口 中的方法com.yc.video.old.listener.OnClarityChangedListener
-
已过时。
清晰度没有切换,比如点击了空白位置,或者点击的是之前的清晰度
- onClick(View) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
尽量不要在onClick中直接处理控件的隐藏、显示及各种UI逻辑。
- onClick(View) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- onClick(View) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- onClick(View) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- onClick(View) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
- onClick(View) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onClick(View) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- onClick(View) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- onClick(View) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onCompletion() - 类 中的方法com.yc.video.player.VideoPlayer
-
视频播放完成回调
- onDetachedFromWindow() - 类 中的方法com.yc.video.controller.BaseVideoController
-
- onDetachedFromWindow() - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
注意,在view被销毁调用该方法后,手动销毁动画
- onDetachedFromWindow() - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
- onDetachedFromWindow() - 类 中的方法com.yc.video.old.surface.VideoSurfaceView
-
已过时。
- onDetachedFromWindow() - 类 中的方法com.yc.video.player.VideoPlayer
-
- onDetachedFromWindow() - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
- onDetachedFromWindow() - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onDoubleTap(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
双击
- onDoubleTapEvent(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onDown(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
手指按下的瞬间
- onError(String, boolean) - 接口 中的方法com.yc.video.config.BuriedPointEvent
-
视频播放异常
- onError(int, String) - 类 中的方法com.yc.video.player.VideoPlayer
-
视频播放出错回调
- onFinish() - 接口 中的方法com.yc.video.tool.CountDownTimer.TimerListener
-
当倒计时结束
- onFling(MotionEvent, MotionEvent, float, float) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onInfo(int, int) - 类 中的方法com.yc.video.player.VideoPlayer
-
- onInterceptTouchEvent(MotionEvent) - 类 中的方法com.yc.video.ui.pip.FloatVideoView
-
- onKeyDown(int, KeyEvent) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
如果锁屏,则屏蔽返回键,这个地方设置无效,需要在activity中设置处理返回键逻辑
后期找替代方案
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类可重写此方法监听锁定状态发生改变,然后更新ui
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomErrorView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomOncePlayView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
- onLockStateChanged(boolean) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onLockStateChanged(boolean) - 接口 中的方法com.yc.video.ui.view.InterControlView
-
锁屏状态监听
- onLongPress(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onMeasure(int, int) - 类 中的方法com.yc.video.old.surface.VideoSurfaceView
-
已过时。
- onMeasure(int, int) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
- onMeasure(int, int) - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
- onMeasure(int, int) - 类 中的方法com.yc.video.surface.RenderTextureView
-
- onOrientationChanged(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
- onOrientationChanged(int) - 类 中的方法com.yc.video.controller.OrientationHelper
-
- onOrientationChanged(int) - 接口 中的方法com.yc.video.controller.OrientationHelper.OnOrientationChangeListener
-
- onOrientationLandscape(Activity) - 类 中的方法com.yc.video.controller.BaseVideoController
-
横屏
- onOrientationPortrait(Activity) - 类 中的方法com.yc.video.controller.BaseVideoController
-
竖屏
- onOrientationReverseLandscape(Activity) - 类 中的方法com.yc.video.controller.BaseVideoController
-
反向横屏
- onPlayerPattern(int) - 接口 中的方法com.yc.video.old.listener.OnPlayerTypeListener
-
已过时。
视频播放模式监听
int FULL_SCREEN = 101; 切换到全屏播放监听
int TINY_WINDOW = 102; 切换到小窗口播放监听
int NORMAL = 103; 切换到正常播放监听
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类重写此方法并在其中更新控制器在不同播放器状态下的ui
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- onPlayerStateChanged(int) - 接口 中的方法com.yc.video.player.OnVideoStateListener
-
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.player.SimpleStateListener
-
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomErrorView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomOncePlayView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
- onPlayerStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onPlayerStateChanged(int) - 接口 中的方法com.yc.video.ui.view.InterControlView
-
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- onPlayerStates(int) - 接口 中的方法com.yc.video.old.listener.OnPlayerStatesListener
-
已过时。
视频播放状态监听,暴露给外部开发者调用
int COMPLETED = 101; 播放完成
int PLAYING = 102; 正在播放
int PAUSE = 103; 暂停状态
int BACK_CLICK = 104; 用户点击back。
- OnPlayerStatesListener - com.yc.video.old.listener中的接口
-
已过时。
- OnPlayerTypeListener - com.yc.video.old.listener中的接口
-
已过时。
- onPlayModeChanged(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
当播放器的播放模式发生变化,在此方法中更新不同模式下的控制器界面。
- onPlayModeChanged(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
当播放器的播放模式发生变化时
- onPlayStateChanged(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类重写此方法并在其中更新控制器在不同播放状态下的ui
- onPlayStateChanged(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
当播放器的播放状态发生变化,在此方法中国你更新不同的播放状态的UI
- onPlayStateChanged(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
当播放状态发生改变时
- onPlayStateChanged(int) - 接口 中的方法com.yc.video.player.OnVideoStateListener
-
播放状态
-1 播放错误
0 播放未开始
1 播放准备中
2 播放准备就绪
3 正在播放
4 暂停播放
5 正在缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,缓冲区数据足够后恢复播放)
6 暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
7 播放完成
8 开始播放中止
- onPlayStateChanged(int) - 类 中的方法com.yc.video.player.SimpleStateListener
-
播放状态
-1 播放错误
0 播放未开始
1 播放准备中
2 播放准备就绪
3 正在播放
4 暂停播放
5 正在缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,缓冲区数据足够后恢复播放)
6 暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
7 播放完成
8 开始播放中止
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
播放状态
-1 播放错误
0 播放未开始
1 播放准备中
2 播放准备就绪
3 正在播放
4 暂停播放
5 正在缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,缓冲区数据足够后恢复播放)
6 暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
7 播放完成
8 开始播放中止
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomErrorView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomOncePlayView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
- onPlayStateChanged(int) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onPlayStateChanged(int) - 接口 中的方法com.yc.video.ui.view.InterControlView
-
播放状态
-1 播放错误
0 播放未开始
1 播放准备中
2 播放准备就绪
3 正在播放
4 暂停播放
5 正在缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,缓冲区数据足够后恢复播放)
6 暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
7 播放完成
8 开始播放中止
- onPositionChange(int, int, int) - 接口 中的方法com.yc.video.controller.IGestureComponent
-
滑动调整进度
- onPositionChange(int, int, int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onPrepared() - 类 中的方法com.yc.video.player.VideoPlayer
-
视频缓冲完毕,准备开始播放时回调
- onProgressChanged(SeekBar, int, boolean) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onReceive(Context, Intent) - 类 中的方法com.yc.video.old.other.BatterReceiver
-
已过时。
- onReceive(Context, Intent) - 类 中的方法com.yc.video.old.other.NetChangedReceiver
-
已过时。
- onSaveInstanceState() - 类 中的方法com.yc.video.player.VideoPlayer
-
- onScroll(MotionEvent, MotionEvent, float, float) - 类 中的方法com.yc.video.controller.GestureVideoController
-
在屏幕上滑动
- onShowPress(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onSingleTapConfirmed(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
单击
- onSingleTapUp(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onStart() - 接口 中的方法com.yc.video.tool.CountDownTimer.TimerListener
-
当倒计时开始
- onStartSlide() - 接口 中的方法com.yc.video.controller.IGestureComponent
-
开始滑动
- onStartSlide() - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onStartTrackingTouch(SeekBar) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onStopSlide() - 接口 中的方法com.yc.video.controller.IGestureComponent
-
结束滑动
- onStopSlide() - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onStopTrackingTouch(SeekBar) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onSurfaceAvailable(SurfaceTexture) - 接口 中的方法com.yc.video.old.surface.VideoTextureView.OnTextureListener
-
已过时。
SurfaceTexture准备就绪
- onSurfaceDestroyed(SurfaceTexture) - 接口 中的方法com.yc.video.old.surface.VideoTextureView.OnTextureListener
-
已过时。
SurfaceTexture即将被销毁
- onSurfaceSizeChanged(SurfaceTexture, int, int) - 接口 中的方法com.yc.video.old.surface.VideoTextureView.OnTextureListener
-
已过时。
SurfaceTexture缓冲大小变化
- onSurfaceTextureAvailable(SurfaceTexture, int, int) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
SurfaceTexture准备就绪
- onSurfaceTextureDestroyed(SurfaceTexture) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
SurfaceTexture即将被销毁
- onSurfaceTextureSizeChanged(SurfaceTexture, int, int) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
SurfaceTexture缓冲大小变化
- onSurfaceTextureUpdated(SurfaceTexture) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
SurfaceTexture通过updateImage更新
- onSurfaceUpdated(SurfaceTexture) - 接口 中的方法com.yc.video.old.surface.VideoTextureView.OnTextureListener
-
已过时。
SurfaceTexture通过updateImage更新
- onTick(long) - 接口 中的方法com.yc.video.tool.CountDownTimer.TimerListener
-
- onTouch(View, MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onTouch(View, MotionEvent) - 类 中的方法com.yc.video.old.controller.AbsVideoPlayerController
-
已过时。
滑动处理调节声音和亮度的逻辑
- onTouchEvent(MotionEvent) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- onTouchEvent(MotionEvent) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
如果锁屏,则屏蔽滑动事件
- onTouchEvent(MotionEvent) - 类 中的方法com.yc.video.ui.pip.FloatVideoView
-
- onVideoControlClick(int) - 接口 中的方法com.yc.video.old.listener.OnVideoControlListener
-
已过时。
视频顶部点击事件【下载,切换音频,分享等】
- OnVideoControlListener - com.yc.video.old.listener中的接口
-
已过时。
- onVideoSizeChanged(int, int) - 类 中的方法com.yc.video.player.VideoPlayer
-
- OnVideoStateListener - com.yc.video.player中的接口
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类重写此方法监听控制的显示和隐藏
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomErrorView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomOncePlayView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
- onVisibilityChanged(boolean, Animation) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- onVisibilityChanged(boolean, Animation) - 接口 中的方法com.yc.video.ui.view.InterControlView
-
视图显示发生变化监听
- onVolumeChange(int) - 接口 中的方法com.yc.video.controller.IGestureComponent
-
滑动调整音量
- onVolumeChange(int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- onWindowFocusChanged(boolean) - 类 中的方法com.yc.video.controller.BaseVideoController
-
- onWindowFocusChanged(boolean) - 类 中的方法com.yc.video.player.VideoPlayer
-
- openMediaPlayer() - 类 中的方法com.yc.video.old.player.VideoMediaPlayer
-
已过时。
打开MediaPlayer播放器
- OrientationHelper - com.yc.video.controller中的类
-
设备方向监听
- OrientationHelper(Context) - 类 的构造器com.yc.video.controller.OrientationHelper
-
- OrientationHelper.OnOrientationChangeListener - com.yc.video.controller中的接口
-
- SafelyHandler(Handler) - 类 的构造器com.yc.video.tool.BaseToast.HookToast.SafelyHandler
-
- savePlayPosition(Context, String, long) - 类 中的静态方法com.yc.video.tool.PlayerUtils
-
保存播放位置,以便下次播放时接着上次的位置继续播放.
- saveProgress(String, long) - 类 中的方法com.yc.video.player.ProgressManager
-
此方法用于实现保存进度的逻辑
- saveProgress() - 类 中的方法com.yc.video.player.VideoPlayer
-
保存播放进度
- scanForActivity(Context) - 类 中的静态方法com.yc.video.tool.PlayerUtils
-
通过上下文获取到activity,使用到了递归
- SCREEN_SCALE_16_9 - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- SCREEN_SCALE_4_3 - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- SCREEN_SCALE_CENTER_CROP - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- SCREEN_SCALE_DEFAULT - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- SCREEN_SCALE_MATCH_PARENT - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- SCREEN_SCALE_ORIGINAL - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.PlayerScreenScaleType
-
- seekTo(long) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- seekTo(long) - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
seek到制定的位置继续播放
- seekTo(long) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置播放位置
- seekTo(long) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
调整播放进度
- seekTo(long) - 类 中的方法com.yc.video.player.VideoPlayer
-
调整播放进度
- setActClass(Class) - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
- setAdaptCutout(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否适配刘海屏,默认适配
- setAdaptCutout(boolean) - 类 中的方法com.yc.video.controller.BaseVideoController
-
设置是否适配刘海屏
- setAssetFileDescriptor(AssetFileDescriptor) - 类 中的方法com.yc.video.player.VideoPlayer
-
用于播放assets里面的视频文件
- setAudioManagerNull() - 类 中的方法com.yc.video.old.player.VideoMediaPlayer
-
已过时。
- setBackgroundColor(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setBufferPercentage(int) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置缓冲区百分比
- setBuriedPointEvent(BuriedPointEvent) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
自定义视频全局埋点事件
- setCanChangePosition(boolean) - 类 中的方法com.yc.video.controller.GestureVideoController
-
设置是否可以滑动调节进度,默认可以
- setClarity(List<VideoInfoBean>, int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置视频清晰度
- setClarityGrade(List<String>, int) - 类 中的方法com.yc.video.old.dialog.ChangeClarityDialog
-
已过时。
设置清晰度等级
- setClickStart() - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
设置点击此界面开始播放
- setConfig(VideoPlayerConfig) - 类 中的静态方法com.yc.video.player.VideoViewManager
-
设置VideoViewConfig
- setContext(Context) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否监听设备方向来切换全屏/半屏, 默认不开启
- setController(AbsVideoPlayerController) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置视频控制器,必须设置
- setController(BaseVideoController) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置控制器,传null表示移除控制器
- setCountdownInterval(long) - 类 中的方法com.yc.video.tool.CountDownTimer
-
设置倒计时间隔值
- setCountDownListener(CountDownTimer.TimerListener) - 类 中的方法com.yc.video.tool.CountDownTimer
-
设置倒计时监听
- setCover(String) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setCurrentState(int) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置当前播放模式
- setCurrentVideoPlayer(OldVideoPlayer) - 类 中的方法com.yc.video.old.other.VideoPlayerManager
-
已过时。
设置VideoPlayer
- setDesc(CharSequence) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setDismissTimeout(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
设置播放视图自动隐藏超时
- setDuration(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setElevation(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setEnableAudioFocus(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否开启AudioFocus监听, 默认开启
- setEnableAudioFocus(boolean) - 类 中的方法com.yc.video.player.VideoPlayerBuilder.Builder
-
是否开启AudioFocus监听, 默认开启,用于监听其它地方是否获取音频焦点,如果有其它地方获取了
音频焦点,此播放器将做出相应反应,具体实现见
AudioFocusHelper
- setEnableInNormal(boolean) - 类 中的方法com.yc.video.controller.GestureVideoController
-
是否在竖屏模式下开始手势控制,默认关闭
- setEnableOrientation(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否监听设备方向来切换全屏/半屏, 默认不开启
- setEnableOrientation(boolean) - 类 中的方法com.yc.video.controller.BaseVideoController
-
是否自动旋转, 默认不自动旋转
- setFill(boolean) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setFloatViewVisible() - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
显示悬浮窗
- setGestureEnabled(boolean) - 类 中的方法com.yc.video.controller.GestureVideoController
-
是否开启手势空控制,默认开启,关闭之后,双击播放暂停以及手势调节进度,音量,亮度功能将关闭
- setGrade(String) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setGravity(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setHeaders(Map<String, String>) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setHideTime(long) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置不操作后,多久自动隐藏头部和底部布局
- setHideTime(long) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置不操作后,多久自动隐藏头部和底部布局
添加值范围注释,限定时间为1秒到10秒之间
- setImage(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
视频底图
- setImage(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置图片
- setInitOptions() - 类 中的方法com.yc.video.player.VideoPlayer
-
初始化之前的配置项
- setIsShowToast(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否设置倒计时n秒吐司
- setLayout(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setLength(long) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setLength(long) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置总时长
- setLength(String) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置总时长
- setLength(long) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置视频时长
- setLength(String) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置视频时长
- setListener(CustomBottomView.OnToastListener) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
- setLoadingType(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置加载loading类型
- setLoadingType(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
18年1月12号添加
设置加载loading类型
- setLocked(boolean) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setLocked(boolean) - 类 中的方法com.yc.video.controller.BaseVideoController
-
设置是否锁屏
- setLocked(boolean) - 接口 中的方法com.yc.video.controller.InterVideoController
-
设置锁定状态
- setLogEnabled(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
是否打印日志
- setLooping(boolean) - 类 中的方法com.yc.video.player.VideoPlayer
-
循环播放, 默认不循环播放
- setMediaPlayer(InterVideoPlayer) - 类 中的方法com.yc.video.controller.BaseVideoController
-
- setMediaPlayerNull() - 类 中的方法com.yc.video.old.player.VideoMediaPlayer
-
已过时。
- setMillisInFuture(long) - 类 中的方法com.yc.video.tool.CountDownTimer
-
设置倒计时总时间
- setMirrorRotation(boolean) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setMirrorRotation(boolean) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- setMirrorRotation(boolean) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置镜像旋转,暂不支持SurfaceView
- setMute(boolean) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setMute(boolean) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- setMute(boolean) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置静音
- setOffset(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setOnClarityCheckedListener(OnClarityChangedListener) - 类 中的方法com.yc.video.old.dialog.ChangeClarityDialog
-
已过时。
- setOnOrientationChangeListener(OrientationHelper.OnOrientationChangeListener) - 类 中的方法com.yc.video.controller.OrientationHelper
-
- setOnPlayerStatesListener(OnPlayerStatesListener) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
- setOnPlayerTypeListener(OnPlayerTypeListener) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
- setOnStateChangeListener(OnVideoStateListener) - 类 中的方法com.yc.video.player.VideoPlayer
-
- setOnSurfaceListener(VideoSurfaceView.OnSurfaceListener) - 类 中的方法com.yc.video.old.surface.VideoSurfaceView
-
已过时。
设置监听
- setOnTextureListener(VideoTextureView.OnTextureListener) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
设置监听
- setOnVideoControlListener(OnVideoControlListener) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
- setOptions() - 类 中的方法com.yc.video.player.VideoPlayer
-
初始化之后的配置项
- setP(String) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setPlayerBackgroundColor(int) - 类 中的方法com.yc.video.player.VideoPlayerBuilder.Builder
-
设置视频播放器的背景色
- setPlayerFactory(PlayerFactory) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
自定义播放核心
- setPlayerFactory(<any>) - 类 中的方法com.yc.video.player.VideoPlayer
-
自定义播放核心,继承PlayerFactory实现自己的播放核心
- setPlayerState(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
VideoPlayer调用此方法向控制器设置播放器状态
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- setPlayerState(int) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- setPlayerState(int) - 类 中的方法com.yc.video.player.VideoPlayer
-
向Controller设置播放器状态,包含全屏状态和非全屏状态
播放模式
普通模式,小窗口模式,正常模式三种其中一种
MODE_NORMAL 普通模式
MODE_FULL_SCREEN 全屏模式
MODE_TINY_WINDOW 小屏模式
- setPlayerType(int) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置播放器类型,必须设置
注意:感谢某人建议,这里限定了传入值类型
输入值:ConstantKeys.IjkPlayerType.TYPE_IJK 或者 ConstantKeys.IjkPlayerType.TYPE_NATIVE
- setPlayingPosition(int) - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
- setPlayOnMobileNetwork(boolean) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
在移动环境下调用start()后是否继续播放,默认不继续播放
- setPlayOnMobileNetwork(boolean) - 类 中的方法com.yc.video.player.VideoViewManager
-
设置是否在移动网络下直接播放视频
- setPlayState(int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
- setPlayState(int) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- setPlayState(int) - 类 中的方法com.yc.video.player.VideoPlayer
-
向Controller设置播放状态,用于控制Controller的ui展示
这里使用注解限定符,不要使用1,2这种直观数字,不方便知道意思
播放状态,主要是指播放器的各种状态
-1 播放错误
0 播放未开始
1 播放准备中
2 播放准备就绪
3 正在播放
4 暂停播放
5 正在缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,缓冲区数据足够后恢复播放)
6 暂停缓冲(播放器正在播放时,缓冲区数据不足,进行缓冲,此时暂停播放器,继续缓冲,缓冲区数据足够后恢复暂停
7 播放完成
8 开始播放中止
- setProgress(int, int) - 类 中的方法com.yc.video.controller.BaseVideoController
-
刷新进度回调,子类可在此方法监听进度刷新,然后更新ui
- setProgress(int, int) - 类 中的方法com.yc.video.ui.more.CustomNetworkView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.more.CustomTrailersView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.pip.CustomFloatView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
刷新进度回调,子类可在此方法监听进度刷新,然后更新ui
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
刷新进度回调,子类可在此方法监听进度刷新,然后更新ui
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomCompleteView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomErrorView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomGestureView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomLiveControlView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomOncePlayView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomPrepareView
-
- setProgress(int, int) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- setProgress(int, int) - 接口 中的方法com.yc.video.ui.view.InterControlView
-
设置进度操作
- setProgressManager(ProgressManager) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
设置进度管理器,用于保存播放进度
- setProgressManager(ProgressManager) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置进度管理器,用于保存播放进度
- setRadius(float) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setRenderViewFactory(SurfaceFactory) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
自定义RenderView
- setRenderViewFactory(SurfaceFactory) - 类 中的方法com.yc.video.player.VideoPlayer
-
- setRotation(float) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setRotation(float) - 类 中的方法com.yc.video.old.surface.VideoSurfaceView
-
已过时。
记得一定要重新写这个方法,如果角度发生了变化,就重新绘制布局
设置视频旋转角度
- setRotation(float) - 类 中的方法com.yc.video.old.surface.VideoTextureView
-
已过时。
记得一定要重新写这个方法,如果角度发生了变化,就重新绘制布局
设置视频旋转角度
- setRotation(float) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- setRotation(float) - 类 中的方法com.yc.video.player.VideoPlayer
-
旋转视频画面
- setRotation(float) - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
记得一定要重新写这个方法,如果角度发生了变化,就重新绘制布局
设置视频旋转角度
- setRotation(float) - 类 中的方法com.yc.video.surface.RenderTextureView
-
记得一定要重新写这个方法,如果角度发生了变化,就重新绘制布局
设置视频旋转角度
- setScaleType(int) - 接口 中的方法com.yc.video.surface.InterSurfaceView
-
设置screen scale type
- setScaleType(int) - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
设置screen scale type
- setScaleType(int) - 类 中的方法com.yc.video.surface.RenderTextureView
-
设置screen scale type
- setScreenScale(int) - 类 中的方法com.yc.video.surface.MeasureHelper
-
- setScreenScaleType(int) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setScreenScaleType(int) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
设置视频比例
- setScreenScaleType(int) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- setScreenScaleType(int) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置视频比例
- setShowToastTime(long) - 类 中的方法com.yc.video.config.VideoPlayerConfig.Builder
-
倒计时n秒时间
- setSpeed(float) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setSpeed(float) - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
设置播放速度,目前只有IjkPlayer有效果,原生MediaPlayer暂不支持
- setSpeed(float) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
注意:MediaPlayer没有这个方法
设置播放速度,不必须
- setSpeed(float) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- setSpeed(float) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置播放速度
- setTextColor(int) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setTinyScreenSize(int[]) - 类 中的方法com.yc.video.player.VideoPlayerBuilder.Builder
-
设置小屏的宽高
- setTitle(String) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setTitle(String) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置播放的视频的标题
- setTitle(String) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置视频标题
- setTitle(CharSequence) - 类 中的方法com.yc.video.tool.BaseToast.Builder
-
- setTitle(String) - 类 中的方法com.yc.video.ui.view.BasisVideoController
-
- setTitle(String) - 类 中的方法com.yc.video.ui.view.CustomTitleView
-
- setToastBackColor(int) - 类 中的静态方法com.yc.video.tool.BaseToast
-
- setTopPadding(float) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置top到顶部的距离
- setTopPadding(float) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置top到顶部的距离
- setTopVisibility(boolean) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置是否显示视频头部的下载,分享布局控件
- setTopVisibility(boolean) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
18年3月15日添加
设置是否显示视频头部的下载,分享布局控件
- setTvAndAudioVisibility(boolean, boolean) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
设置横屏播放时,tv和audio图标是否显示
- setTvAndAudioVisibility(boolean, boolean) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置横屏播放时,tv和audio图标是否显示
- setUp(String, Map<String, String>) - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
设置视频Url,以及headers
- setUp(String, Map<String, String>) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置,必须设置
- setUrl(String) - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- setUrl(String) - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
设置链接
- setUrl(String) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置视频地址
- setUrl(String, Map<String, String>) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置包含请求头信息的视频地址
- setVideoBuilder(VideoPlayerBuilder) - 类 中的方法com.yc.video.player.VideoPlayer
-
-----------------------------暴露api方法--------------------------------------
- setVideoPlayer(OldVideoPlayer) - 类 中的方法com.yc.video.old.controller.AbsVideoPlayerController
-
已过时。
设置VideoPlayer
- setVideoPlayer(OldVideoPlayer) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
设置播放器
- setVideoRotation(int) - 接口 中的方法com.yc.video.surface.InterSurfaceView
-
设置视频旋转角度
- setVideoRotation(int) - 类 中的方法com.yc.video.surface.MeasureHelper
-
设置视频旋转角度
- setVideoRotation(int) - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
设置视频旋转角度
- setVideoRotation(int) - 类 中的方法com.yc.video.surface.RenderTextureView
-
设置视频旋转角度
- setVideoSize(int, int) - 接口 中的方法com.yc.video.surface.InterSurfaceView
-
设置视频宽高
- setVideoSize(int, int) - 类 中的方法com.yc.video.surface.MeasureHelper
-
设置视频宽高
- setVideoSize(int, int) - 类 中的方法com.yc.video.surface.RenderSurfaceView
-
设置视频宽高
- setVideoSize(int, int) - 类 中的方法com.yc.video.surface.RenderTextureView
-
设置视频宽高
- setVideoUrl(String) - 类 中的方法com.yc.video.config.VideoInfoBean
-
- setVolume(int) - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
设置音量
- setVolume(int) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
设置音量
- setVolume(float, float) - 类 中的方法com.yc.video.player.VideoPlayer
-
设置音量 0.0f-1.0f 之间
- SHARE - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.VideoControl
-
- show() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- show() - 类 中的方法com.yc.video.controller.BaseVideoController
-
显示播放视图
- show() - 接口 中的方法com.yc.video.controller.InterVideoController
-
隐藏控制视图
- showActionBar(Context) - 类 中的静态方法com.yc.video.tool.PlayerUtils
-
- showBottomProgress(boolean) - 类 中的方法com.yc.video.ui.view.CustomBottomView
-
是否显示底部进度条,默认显示
- showChangeBrightness(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
手势在左侧上下滑动改变亮度时,显示控制器中间的亮度变化视图,
在手势滑动ACTION_MOVE的过程中,会不断调用此方法。
- showChangeBrightness(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
展示视频播放亮度
- showChangePosition(long, int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
手势左右滑动改变播放位置时,显示控制器中间的播放位置变化视图,
在手势滑动ACTION_MOVE的过程中,会不断调用此方法。
- showChangePosition(long, int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
显示视频播放位置
- showChangeVolume(int) - 接口 中的方法com.yc.video.old.controller.IVideoController
-
已过时。
手势在右侧上下滑动改变音量时,显示控制器中间的音量变化视图,
在手势滑动ACTION_MOVE的过程中,会不断调用此方法。
- showChangeVolume(int) - 类 中的方法com.yc.video.old.controller.VideoPlayerController
-
已过时。
展示视频播放音量
- showNetWarning() - 类 中的方法com.yc.video.controller.BaseVideoController
-
显示移动网络播放提示
- showNetWarning() - 类 中的方法com.yc.video.player.VideoPlayer
-
是否显示移动网络提示,可在Controller中配置
- showRoundRectToast(CharSequence) - 类 中的静态方法com.yc.video.tool.BaseToast
-
某些系统可能屏蔽通知
1:检查 SystemUtils.isEnableNotification(BaseApplication.getApplication());
2:替代方案 SnackBarUtils.showSnack(topActivity, noticeStr);
圆角
屏幕中间
- showRoundRectToast(CharSequence, CharSequence) - 类 中的静态方法com.yc.video.tool.BaseToast
-
- showRoundRectToast(int) - 类 中的静态方法com.yc.video.tool.BaseToast
-
- showSysBar(ViewGroup, Context, BaseVideoController) - 类 中的方法com.yc.video.player.VideoPlayerHelper
-
显示NavigationBar和StatusBar
- showToast(String) - 类 中的静态方法com.yc.video.tool.BaseToast
-
- showToastOrDialog() - 接口 中的方法com.yc.video.ui.view.CustomBottomView.OnToastListener
-
- SimpleStateListener - com.yc.video.player中的类
- SimpleStateListener() - 类 的构造器com.yc.video.player.SimpleStateListener
-
- skipPositionWhenPlay(int) - 类 中的方法com.yc.video.player.VideoPlayerBuilder.Builder
-
一开始播放就seek到预先设置好的位置
- skipToPosition - 类 中的变量com.yc.video.old.player.OldVideoPlayer
-
已过时。
- slideToChangeBrightness(float) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- slideToChangePosition(float) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- slideToChangeVolume(float) - 类 中的方法com.yc.video.controller.GestureVideoController
-
- sp2px(Context, float) - 类 中的静态方法com.yc.video.tool.PlayerUtils
-
sp转为px
- start() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- start() - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
开始播放
- start(long) - 接口 中的方法com.yc.video.old.player.IVideoPlayer
-
已过时。
从指定的位置开始播放
- start() - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
开始播放
- start(long) - 类 中的方法com.yc.video.old.player.OldVideoPlayer
-
已过时。
开始播放
- start() - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
开始播放
- start() - 类 中的方法com.yc.video.player.VideoPlayer
-
- start() - 类 中的方法com.yc.video.tool.CountDownTimer
-
开始倒计时,每次点击,都会重新开始
- startFadeOut() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- startFadeOut() - 类 中的方法com.yc.video.controller.BaseVideoController
-
开始计时
- startFadeOut() - 接口 中的方法com.yc.video.controller.InterVideoController
-
开始控制视图自动隐藏倒计时
- startFloatWindow() - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
- startFullScreen() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- startFullScreen() - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类中请使用此方法来进入全屏
- startFullScreen() - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- startFullScreen() - 类 中的方法com.yc.video.player.VideoPlayer
-
进入全屏
- startInPlaybackState() - 类 中的方法com.yc.video.player.VideoPlayer
-
播放状态下开始播放
- startPlay() - 类 中的方法com.yc.video.player.VideoPlayer
-
第一次播放
- startPrepare(boolean) - 类 中的方法com.yc.video.player.VideoPlayer
-
开始准备播放(直接播放)
- startProgress() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- startProgress() - 类 中的方法com.yc.video.controller.BaseVideoController
-
开始刷新进度,注意:需在STATE_PLAYING时调用才会开始刷新进度
- startProgress() - 接口 中的方法com.yc.video.controller.InterVideoController
-
开始刷新进度
- startTinyScreen() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- startTinyScreen() - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- startTinyScreen() - 类 中的方法com.yc.video.player.VideoPlayer
-
开启小屏
- startUpdateNetSpeedTimer() - 类 中的方法com.yc.video.old.controller.AbsVideoPlayerController
-
已过时。
当正在缓冲或者播放准备中状态时,开启缓冲时更新网络加载速度
- startUpdateProgressTimer() - 类 中的方法com.yc.video.old.controller.AbsVideoPlayerController
-
已过时。
开启更新进度的计时器。
- STATE_BUFFERING_PAUSED - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_BUFFERING_PLAYING - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_COMPLETED - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_ERROR - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_IDLE - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_NETWORK_ERROR - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_ONCE_LIVE - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_PARSE_ERROR - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_PAUSED - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_PLAYING - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_PREPARED - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_PREPARING - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_START_ABORT - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- STATE_URL_NULL - 注释类型 中的静态变量com.yc.video.config.ConstantKeys.CurrentState
-
- StatesCutoutUtils - com.yc.video.tool中的类
-
刘海屏工具
- stopFadeOut() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- stopFadeOut() - 类 中的方法com.yc.video.controller.BaseVideoController
-
取消计时
- stopFadeOut() - 接口 中的方法com.yc.video.controller.InterVideoController
-
取消控制视图自动隐藏倒计时
- stopFloatWindow() - 类 中的方法com.yc.video.ui.pip.FloatVideoManager
-
- stopFullScreen() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- stopFullScreen() - 类 中的方法com.yc.video.controller.BaseVideoController
-
子类中请使用此方法来退出全屏
- stopFullScreen() - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- stopFullScreen() - 类 中的方法com.yc.video.player.VideoPlayer
-
退出全屏
- stopProgress() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- stopProgress() - 类 中的方法com.yc.video.controller.BaseVideoController
-
停止刷新进度
- stopProgress() - 接口 中的方法com.yc.video.controller.InterVideoController
-
停止刷新进度
- stopTinyScreen() - 类 中的方法com.yc.video.bridge.ControlWrapper
-
- stopTinyScreen() - 接口 中的方法com.yc.video.player.InterVideoPlayer
-
- stopTinyScreen() - 类 中的方法com.yc.video.player.VideoPlayer
-
退出小屏
- surfaceChanged(SurfaceHolder, int, int, int) - 接口 中的方法com.yc.video.old.surface.VideoSurfaceView.OnSurfaceListener
-
已过时。
- surfaceCreated(SurfaceHolder) - 接口 中的方法com.yc.video.old.surface.VideoSurfaceView.OnSurfaceListener
-
已过时。
- surfaceDestroyed(SurfaceHolder) - 接口 中的方法com.yc.video.old.surface.VideoSurfaceView.OnSurfaceListener
-
已过时。
- SurfaceFactory - com.yc.video.surface中的类
- SurfaceFactory() - 类 的构造器com.yc.video.surface.SurfaceFactory
-
- SurfaceViewFactory - com.yc.video.surface中的类
- SurfaceViewFactory() - 类 的构造器com.yc.video.surface.SurfaceViewFactory
-
- suspendVideoPlayer() - 类 中的方法com.yc.video.old.other.VideoPlayerManager
-
已过时。
当视频正在播放或者正在缓冲时,调用该方法暂停视频