-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
VideoAllCallBack
Shuyu Guo edited this page Oct 30, 2017
·
3 revisions
public interface VideoAllCallBack {
//加载成功,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onPrepared(String url, Object... objects);
//点击了开始按键播放,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickStartIcon(String url, Object... objects);
//点击了错误状态下的开始按键,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickStartError(String url, Object... objects);
//点击了播放状态下的开始按键--->停止,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickStop(String url, Object... objects);
//点击了全屏播放状态下的开始按键--->停止,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickStopFullscreen(String url, Object... objects);
//点击了暂停状态下的开始按键--->播放,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickResume(String url, Object... objects);
//点击了全屏暂停状态下的开始按键--->播放,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickResumeFullscreen(String url, Object... objects);
//点击了空白弹出seekbar,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickSeekbar(String url, Object... objects);
//点击了全屏的seekbar,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickSeekbarFullscreen(String url, Object... objects);
//播放完了,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onAutoComplete(String url, Object... objects);
//进去全屏,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onEnterFullscreen(String url, Object... objects);
//退出全屏,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onQuitFullscreen(String url, Object... objects);
//进入小窗口,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onQuitSmallWidget(String url, Object... objects);
//退出小窗口,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onEnterSmallWidget(String url, Object... objects);
//触摸调整声音,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onTouchScreenSeekVolume(String url, Object... objects);
//触摸调整进度,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onTouchScreenSeekPosition(String url, Object... objects);
//触摸调整亮度,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onTouchScreenSeekLight(String url, Object... objects);
//播放错误,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onPlayError(String url, Object... objects);
//点击了空白区域开始播放,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickStartThumb(String url, Object... objects);
//点击了播放中的空白区域,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickBlank(String url, Object... objects);
//点击了全屏播放中的空白区域,objects[0]是title,object[1]是当前所处播放器(全屏或非全屏)
void onClickBlankFullscreen(String url, Object... objects);
}