public class BVideoView extends RelativeLayout implements CyberPlayerController.CyberPlayerControllerListener, BMediaController.VideoViewControl
Modifier and Type | Class and Description |
---|---|
static interface |
BVideoView.OnCompletionListener
媒体源播放结束后被调用的回调函数接口定义
|
static interface |
BVideoView.OnCompletionWithParamListener
带参数的Oncompletion回调,其余同OnComplete
|
static interface |
BVideoView.OnErrorListener
异步操作时,如果有错误发生时被调用的回调函数接口定义,(有的函数调用时会抛出异常)
|
static interface |
BVideoView.OnInfoListener
接收关于媒体或播放的信息(和/或)警告的回调函数接口定义
|
static interface |
BVideoView.OnNetworkSpeedListener
报告播放时的网络实时速度的回调函数接口定义
linxiongzhou
|
static interface |
BVideoView.OnPlayingBufferCacheListener
报告播放时缓存区充盈度百分比的回调函数接口定义
mediacloud-1.1 添加.
|
static interface |
BVideoView.OnPositionUpdateListener
接收当前播放时长的回调函数接口定义
|
static interface |
BVideoView.OnPreparedListener
媒体源已准备好,即将播放时被调用的回调函数接口定义
|
static interface |
BVideoView.OnSeekCompleteListener
seek操作完成后被调用的回调函数接口定义
mediacloud-1.2 添加
|
static interface |
BVideoView.OnTotalCacheUpdateListener
报告播放时总缓冲时长的回调函数接口定义
mediacloud-1.1 添加.
|
Modifier and Type | Field and Description |
---|---|
static int |
BMP_OBJECT |
static int |
DECODE_HW
hardware decode
|
static int |
DECODE_MHW
manual hardware decode
|
static int |
DECODE_MHW_AUTO
manual hardware decode with automatic software decode support
|
static int |
DECODE_SW
software decode
|
static int |
MEDIA_ERROR_DISPLAY
Surfaceview for playback not created or occur an error
|
static int |
MEDIA_ERROR_EIO |
static int |
MEDIA_ERROR_INVALID_INPUTFILE
the input video source is invalid
|
static int |
MEDIA_ERROR_IO
File or network related operation errors.
|
static int |
MEDIA_ERROR_MALFORMED
Bitstream is not conforming to the related coding standard or file spec.
|
static int |
MEDIA_ERROR_MC_EXCEPTION
DECODE_MHW 模式出现异常
|
static int |
MEDIA_ERROR_MC_LOW_SYSTEM_VERSION
DECODE_MHW 不支持,系统版本过低
|
static int |
MEDIA_ERROR_MC_NOT_SUPPORT
DECODE_MHW 不支持当前的视频规格(mime type, profile, level)
|
static int |
MEDIA_ERROR_NO_INPUTFILE
not set video source for playback
|
static int |
MEDIA_ERROR_NO_SUPPORTED_CODEC
codec not supportted the video source contains
|
static int |
MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
The video is streamed and its container is not valid
for progressive playback i.e the video's index
(e.g moov atom) is not at the start of the file.
|
static int |
MEDIA_ERROR_SERVER_DIED
Media server died.
|
static int |
MEDIA_ERROR_TIMED_OUT
Some operation takes too long to complete, usually more than 3-5 seconds.
|
static int |
MEDIA_ERROR_UAS_ERR_USER_SIGN |
static int |
MEDIA_ERROR_UAS_ERRORPARAM |
static int |
MEDIA_ERROR_UAS_USER_NOT_EXIT |
static int |
MEDIA_ERROR_UNKNOWN
Unspecified player error.
|
static int |
MEDIA_ERROR_UNSUPPORTED
Bitstream is conforming to the related coding standard or file spec,
but the media framework does not support the feature.
|
static int |
MEDIA_INFO_BAD_INTERLEAVING
Bad interleaving means that a media has been improperly
interleaved or not interleaved at all, e.g has all the video
samples first then all the audio ones.
|
static int |
MEDIA_INFO_BUFFERING_END
Player is resuming playback after filling buffers.
|
static int |
MEDIA_INFO_BUFFERING_START
Player is temporarily pausing playback internally in order to buffer more data.
|
static int |
MEDIA_INFO_METADATA_UPDATE |
static int |
MEDIA_INFO_NOT_SEEKABLE
The media cannot be seeked (e.g live stream)
|
static int |
MEDIA_INFO_PLAYING_AVDIFFERENCE |
static int |
MEDIA_INFO_PLAYING_QUALITY |
static int |
MEDIA_INFO_UNKNOWN
Unspecified player info.
|
static int |
MEDIA_INFO_VIDEO_TRACK_LAGGING
The video is too complex for the decoder: it can't decode frames fast enough.
|
static int |
RAW_ARGB8888 |
static int |
RAW_RGB565 |
static int |
RAW_YUV420 |
static int |
RESOLUTION_TYPE_AUTO |
static int |
VIDEO_SCALING_MODE_SCALE_TO_FIT
Specifies a video scaling mode.
|
static int |
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
Specifies a video scaling mode.
|
Constructor and Description |
---|
BVideoView(Context context) |
BVideoView(Context context,
AttributeSet attrs) |
BVideoView(Context context,
AttributeSet attrs,
int defStyle) |
BVideoView(Context context,
AttributeSet attrs,
int defStyle,
java.lang.String pkgName) |
BVideoView(Context context,
AttributeSet attrs,
java.lang.String pkgName) |
BVideoView(Context context,
java.lang.String pkgName) |
Modifier and Type | Method and Description |
---|---|
static void |
destroyThumbnail()
destroyThumbnail : destroy the buffer of thumbnail.
|
boolean |
dispatchTouchEvent(MotionEvent ev) |
static int |
getABitRateKb()
getABitRateKb : get the Audio bitrate of the given file.
|
static java.lang.String |
getAcodecName()
getAcodecName : get the name of audio codec of the given file.
|
static Bitmap |
getBitmap()
getBitmap : get the BMP object of RGB.565 format.
|
static java.nio.ByteBuffer |
getBytebuffer()
getBytebuffer : get the buffer of thumbnail.
|
static int |
getChannels()
getChannels : get the Audio channel of the given file.
|
java.lang.String |
getCurrentPlayingUrl()
获取当前播放的url,hls 返回当前播放的ts流 url.
|
int |
getCurrentPosition()
获取当前播放位置.
|
long |
getCurrentPositionInMsec() |
int |
getDuration()
function: getDuration..
|
int |
getDuration(int mode)
Gets different durations of the file according to the mode.
|
static int |
getDurationInMediaInfo()
function: getDuration
|
static int |
getDurationUs()
getVBitRateKb : get the duration of the given file.
|
static java.lang.String |
getExtension()
getExtension : get the file format of the given file.
|
static int |
getFileSizeKb()
getFileSizeKb : get the file size of the given file.
|
static float |
getFrameRate()
getFrameRate : get the video frame rate of the given file.
|
static java.lang.String |
getLongName()
getLongName : get the file format's long name of the given file.
|
java.lang.String |
GetMediaId()
添加于发布版1.6以后,返回media id
setVideoPath 之后调用
|
static int |
getMediaInfo(Context ctx,
java.lang.String filePath)
getMediaInfo : get the information of file given.
|
static int |
getMediaInfo(Context ctx,
java.lang.String filePath,
int width,
int height,
int colorFormat)
getMediaInfo : get the information of file given.
|
java.lang.String |
getNativeVersion()
Gets the version of the native library.
|
static int |
getSampleRate()
getSampleRate : get the Audio sample of the given file.
|
SubtitleManager |
getSubtitlePlayManger(com.baidu.cyberplayer.subtitle.utils.SubtitleErrorCallback callback) |
static int[] |
getSupportedBitrateKb()
getSupportedBitrateKb : get supported bitrates by kbps.
|
static java.lang.String[] |
getSupportedResolution()
getSupportedResolution : get supported resolutions, formated by 'width'x'height'.
|
static java.lang.String |
getTitle()
getTitle : get the Title of the given file.
|
static int |
getTotBitRateKb()
getTotBitRateKb : get the Total bit rate of the given file.
|
static int |
getVBitRateKb()
getVBitRateKb : get the video bit rate of the given file.
|
static java.lang.String |
getVcodecName()
getVcodecName : get the name of video codec of the given file.
|
int |
getVideoHeight()
获取视频高度
|
static int |
getVideoHeightInMediaInfo()
获取视频MediaInfo中的高度,需先调用getMediaInfo接口
|
int |
getVideoWidth()
获取视频宽度
|
static int |
getVideoWidthInMediaInfo()
获取MediaInfo中的视频宽度,需先调用getMediaInfo接口
|
boolean |
isPlaying()
判断播放器是否正在播放的状态.
|
void |
manualSyncSubtitle(int mSec)
manualSyncSubtitle: user can adapt the time by msecond of subtitle.
|
void |
onCacheStatusChanged(CyberPlayerController.CACHE_STATUS status) |
void |
onCachingUpdate(int percent) |
void |
onClick(View v) |
void |
onCompletion() |
void |
OnCompletionWithParam(int param) |
boolean |
onError(int errCode,
int extra) |
void |
onInfo(int what,
int extra) |
boolean |
onKeyUp(int keyCode,
KeyEvent event) |
void |
onNetworkSpeedUpdate(int speed) |
void |
onPlayingBufferCache(int percent) |
void |
onPlayStatusChanged(CyberPlayerController.PLAYER_STATUS status,
int arg1,
int arg2) |
void |
onPrePared() |
void |
onSeekCompleted() |
boolean |
onTouchEvent(MotionEvent event) |
int |
openExtSubFile(java.lang.String subFilePath)
openExtSubFile: open external subtitle file in playing, online or local.
|
void |
pause()
暂停播放.
|
void |
resume()
恢复播放.
|
void |
seekTo(double second)
拖动到特定的时间位置.
|
void |
selectResolutionType(int resType) |
static void |
setAK(java.lang.String ak)
设置应用的AK
|
static void |
setAKSK(java.lang.String ak,
java.lang.String sk)
设置应用的AK和SK前16位
|
void |
setCacheBufferSize(long size)
设置软解码的总buffer的大小
没有设置的情况下,默认为 5 * 1024 *1024
|
void |
setCacheTime(float timeSec)
设置软解码的缓冲的最大时长
没有设置的情况下,默认为1秒
|
void |
setCustomHttpHeader(java.lang.String httpHeaderBuffer)
添加于发布版1.6以后,设置自定义的http 请求头
|
void |
setDecodeMode(int mode)
设置BVideoView 是否应用硬解模式(调用android系统媒体播放框架),在调用start播放之前调用
如果不调用setDecodeMode函数,我们默认用软解模式,因为此模式支持更多的格式.
|
void |
setEnableDolby(boolean bEnableDolby)
添加于发布版1.7.1.4以后,动态开启杜比音效codec的支持
|
void |
setEnableP2p(boolean bEnableP2p) |
int |
setExtSubtitleFile(java.lang.String subFilePath)
setExtSubtitleFile: set external subtitle file path before play video, online or local.
|
void |
setIsShowSubtitle(boolean isShow)
setIsShowSubtitle: user can set if the subtitle will show or not in playing, defaule is show.
|
void |
setLogLevel(int level) |
void |
setMediaController(BMediaController controller)
Sets a controller bar for the videoview.
|
static void |
setNativeLibsDirectory(java.lang.String nativeLibsDir)
添加于1.3,设置播放器SDK底层so的加载路径
播放器SDK加载底层库方案:如果通过setNativeLibsDirectory设置了底层库所在路径
会从此路径加载底层库,否则从应用默认的libs加载
|
static void |
setNativeLibsFileName(java.lang.String playerName,
java.lang.String coreName)
添加于发布版1.5以后, 设置播放器SDK底层SO的全路径
|
void |
setOnCompletionListener(BVideoView.OnCompletionListener linstener)
注册媒体文件播放结束后被调用的回调函数
|
void |
setOnCompletionWithParamListener(BVideoView.OnCompletionWithParamListener listener)
注册 带参数的结束回调函数.
|
void |
setOnErrorListener(BVideoView.OnErrorListener linstener)
注册在播放和建立播放期间发生错误被调用的回调函数
如果回调函数没有注册,或者回调函数返回错误
BVideoView 将不返回用户任何错误
|
void |
setOnInfoListener(BVideoView.OnInfoListener linstener)
Register a callback to be invoked when an informational event occurs
during playback or setup.
|
void |
setOnNetworkSpeedListener(BVideoView.OnNetworkSpeedListener listener)
注册 报告播放时网络速度的回调函数.
|
void |
setOnPlayingBufferCacheListener(BVideoView.OnPlayingBufferCacheListener listener)
mediacloud-1.1 添加
注册 报告播放时缓存区充盈度百分比的回调函数.
|
void |
setOnPositionUpdateListener(BVideoView.OnPositionUpdateListener linstener)
Register a callback to be invoked when playback position was updated.
|
void |
setOnPreparedListener(BVideoView.OnPreparedListener linstener)
注册媒体文件装载时或即将播放时被调用的回调函数
|
void |
setOnSeekCompleteListener(BVideoView.OnSeekCompleteListener listener)
mediacloud-1.2 添加
注册seek操作完成后被调用的回调函数
|
void |
setOnTotalCacheUpdateListener(BVideoView.OnTotalCacheUpdateListener listener)
mediacloud-1.1 添加
注册 报告播放时缓冲总时长的回调函数.
|
void |
setP2pCachePath(java.lang.String strP2pCachePath)
called before start
|
void |
setParametKey(java.lang.String strKey,
java.lang.String value)
Set Parameter key value
|
void |
setRetainLastFrame(boolean enable)
Enable or disable to retain the last rendered video frame.
|
void |
setSubtitleAlignMethod(int iAlignMethod)
setSubtitlePos: user can set the display position of subtitle in pixel, default is the bottom center.
|
void |
setSubtitleColor(int iColor)
setSubtitleColor: user can set the font display color of subtitle, default value is that, background is black and font is write.
|
void |
setSubtitleFontScale(double fFontScale)
setSubtitleFontScale: user can set the font display scale subtitle, default is 1.0.
|
void |
setUserAgent(java.lang.String strUA)
添加于发布版1.6以后,设置自定义的http 链接的用户代理
|
void |
setVideoPath(java.lang.String path)
设置播放的数据源(媒体文件路径或http/rtsp URL)
|
void |
setVideoScalingMode(int mode)
Sets video scaling mode.
|
void |
showCacheInfo(boolean show)
mediacloud-1.1 添加
videoview是否要显示或隐藏缓冲区的状态
|
void |
start()
启动播放.
|
void |
stopPlayback()
停止播放.
|
void |
surfaceChanged(SurfaceHolder holder,
int format,
int width,
int height) |
void |
surfaceCreated(SurfaceHolder holder) |
void |
surfaceDestroyed(SurfaceHolder holder) |
Bitmap |
takeSnapshot()
takeSnapshot : take a Snapshot in playing.
|
public static final int RAW_YUV420
public static final int RAW_RGB565
public static final int RAW_ARGB8888
public static final int BMP_OBJECT
public static final int DECODE_HW
public static final int DECODE_SW
public static final int DECODE_MHW
public static final int DECODE_MHW_AUTO
public static final int MEDIA_ERROR_UNKNOWN
public static final int MEDIA_ERROR_SERVER_DIED
public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
public static final int MEDIA_ERROR_IO
public static final int MEDIA_ERROR_MALFORMED
public static final int MEDIA_ERROR_UNSUPPORTED
public static final int MEDIA_ERROR_TIMED_OUT
public static final int MEDIA_ERROR_NO_INPUTFILE
public static final int MEDIA_ERROR_INVALID_INPUTFILE
public static final int MEDIA_ERROR_NO_SUPPORTED_CODEC
public static final int MEDIA_ERROR_DISPLAY
public static final int MEDIA_ERROR_EIO
public static final int MEDIA_ERROR_UAS_ERRORPARAM
public static final int MEDIA_ERROR_UAS_USER_NOT_EXIT
public static final int MEDIA_ERROR_UAS_ERR_USER_SIGN
public static final int MEDIA_ERROR_MC_EXCEPTION
public static final int MEDIA_ERROR_MC_LOW_SYSTEM_VERSION
public static final int MEDIA_ERROR_MC_NOT_SUPPORT
public static final int MEDIA_INFO_UNKNOWN
public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING
public static final int MEDIA_INFO_BUFFERING_START
public static final int MEDIA_INFO_BUFFERING_END
public static final int MEDIA_INFO_BAD_INTERLEAVING
public static final int MEDIA_INFO_NOT_SEEKABLE
public static final int MEDIA_INFO_METADATA_UPDATE
public static final int MEDIA_INFO_PLAYING_QUALITY
public static final int MEDIA_INFO_PLAYING_AVDIFFERENCE
public static final int RESOLUTION_TYPE_AUTO
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
public BVideoView(Context context)
context
- public BVideoView(Context context, AttributeSet attrs)
context
- attrs
- public BVideoView(Context context, AttributeSet attrs, int defStyle)
context
- attrs
- defStyle
- public BVideoView(Context context, java.lang.String pkgName)
context
- pkgName
- public BVideoView(Context context, AttributeSet attrs, java.lang.String pkgName)
context
- attrs
- pkgName
- public BVideoView(Context context, AttributeSet attrs, int defStyle, java.lang.String pkgName)
context
- attrs
- defStyle
- pkgName
- public void setOnSeekCompleteListener(BVideoView.OnSeekCompleteListener listener)
listener
- the callback that will be runpublic void setOnPreparedListener(BVideoView.OnPreparedListener linstener)
linstener
- The callback that will be run.public void setOnCompletionListener(BVideoView.OnCompletionListener linstener)
linstener
- The callback that will be run.public void setOnErrorListener(BVideoView.OnErrorListener linstener)
linstener
- The callback that will be run.public void setOnInfoListener(BVideoView.OnInfoListener linstener)
linstener
- The callback that will be run.public void setOnPositionUpdateListener(BVideoView.OnPositionUpdateListener linstener)
linstener
- The callback that will be run.public void setOnTotalCacheUpdateListener(BVideoView.OnTotalCacheUpdateListener listener)
listener
- public void setOnPlayingBufferCacheListener(BVideoView.OnPlayingBufferCacheListener listener)
listener
- public void setOnNetworkSpeedListener(BVideoView.OnNetworkSpeedListener listener)
listener
- public void setOnCompletionWithParamListener(BVideoView.OnCompletionWithParamListener listener)
listener
- public static void setAKSK(java.lang.String ak, java.lang.String sk)
ak
- sk
- public static void setAK(java.lang.String ak)
ak
- public static void setNativeLibsDirectory(java.lang.String nativeLibsDir)
nativeLibsDir
- 底层so的加载路径public static void setNativeLibsFileName(java.lang.String playerName, java.lang.String coreName)
playerName
- 播放so全路径coreName
- 播放核心so全路径public void setDecodeMode(int mode)
mode
- DECODE_HW:hardware decode mode, DECODE_SW:software decode modepublic void selectResolutionType(int resType)
public void setUserAgent(java.lang.String strUA)
user
- agent 用户代理public void setParametKey(java.lang.String strKey, java.lang.String value)
user
- keyuser
- key's valuepublic void setCacheBufferSize(long size)
size
- buffer 大小public void setCacheTime(float timeSec)
timeSec
- 缓冲时长public void setCustomHttpHeader(java.lang.String httpHeaderBuffer)
httpHeaderBuffer
- http请求头缓冲区,例: ""Pragma: no-cache\r\nRetry-After: 120\r\nTrailer: Max-Forwards\r\n"public java.lang.String GetMediaId()
public void setP2pCachePath(java.lang.String strP2pCachePath)
public void setEnableP2p(boolean bEnableP2p)
public void setEnableDolby(boolean bEnableDolby)
bEnableDolby,
- true表示开启,false表示禁止,默认是开启杜比音效public void setLogLevel(int level)
level
- 0: no log output
1: Error
2: Error/Waring
3: Error/Waring/Info
4: Error/Waring/Info/DEBUG
5: Error/Waring/Info/DEBUG/VERBOSE
other: invalid valuepublic void setRetainLastFrame(boolean enable)
true/false.
- public void setVideoPath(java.lang.String path)
path
- 媒体文件路径或你想要播放的网络媒体流的 http/rtsp URL .public void showCacheInfo(boolean show)
show
- ture will show cache status and hint on videoview while caching buffer, false will not showpublic void setVideoScalingMode(int mode)
mode
- VIDEO_SCALING_MODE_SCALE_TO_FIT
,
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
public void start()
start
in interface BMediaController.VideoViewControl
public void pause()
pause
in interface BMediaController.VideoViewControl
public void resume()
resume
in interface BMediaController.VideoViewControl
public void stopPlayback()
public void seekTo(double second)
seekTo
in interface BMediaController.VideoViewControl
sec
- 由起始到拖动位置的偏移地址,以秒为单位public int getDuration()
getDuration
in interface BMediaController.VideoViewControl
public static int getDurationInMediaInfo()
public int getDuration(int mode)
public java.lang.String getNativeVersion()
public int getCurrentPosition()
getCurrentPosition
in interface BMediaController.VideoViewControl
public long getCurrentPositionInMsec()
public java.lang.String getCurrentPlayingUrl()
public boolean dispatchTouchEvent(MotionEvent ev)
public boolean onKeyUp(int keyCode, KeyEvent event)
public boolean onTouchEvent(MotionEvent event)
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height)
public void surfaceCreated(SurfaceHolder holder)
public void surfaceDestroyed(SurfaceHolder holder)
public void onPlayStatusChanged(CyberPlayerController.PLAYER_STATUS status, int arg1, int arg2)
onPlayStatusChanged
in interface CyberPlayerController.CyberPlayerControllerListener
public void onCacheStatusChanged(CyberPlayerController.CACHE_STATUS status)
onCacheStatusChanged
in interface CyberPlayerController.CyberPlayerControllerListener
public void onCachingUpdate(int percent)
onCachingUpdate
in interface CyberPlayerController.CyberPlayerControllerListener
public void onPlayingBufferCache(int percent)
onPlayingBufferCache
in interface CyberPlayerController.CyberPlayerControllerListener
public void onNetworkSpeedUpdate(int speed)
onNetworkSpeedUpdate
in interface CyberPlayerController.CyberPlayerControllerListener
public int getVideoWidth()
public static int getVideoWidthInMediaInfo()
public int getVideoHeight()
public static int getVideoHeightInMediaInfo()
public Bitmap takeSnapshot()
public static java.lang.String getExtension()
public static java.lang.String getLongName()
public static java.lang.String getAcodecName()
public static java.lang.String getVcodecName()
public static int getTotBitRateKb()
public static int getFileSizeKb()
public static int getDurationUs()
public static java.lang.String getTitle()
public static int getVBitRateKb()
public static float getFrameRate()
public static int getSampleRate()
public static int getChannels()
public static int getABitRateKb()
public static java.nio.ByteBuffer getBytebuffer()
public static Bitmap getBitmap()
public static int[] getSupportedBitrateKb()
public static java.lang.String[] getSupportedResolution()
public static int getMediaInfo(Context ctx, java.lang.String filePath, int width, int height, int colorFormat)
ctx
- filePath
- 文件路径width
- 缩略图宽度height
- 缩略图高度colorFormat
- 颜色格式public static int getMediaInfo(Context ctx, java.lang.String filePath)
ctx
- filePath
- 文件路径public static void destroyThumbnail()
public int setExtSubtitleFile(java.lang.String subFilePath)
public int openExtSubFile(java.lang.String subFilePath)
public void setIsShowSubtitle(boolean isShow)
public void setSubtitleColor(int iColor)
public void setSubtitleFontScale(double fFontScale)
public void setSubtitleAlignMethod(int iAlignMethod)
public void manualSyncSubtitle(int mSec)
public void onSeekCompleted()
onSeekCompleted
in interface CyberPlayerController.CyberPlayerControllerListener
public boolean onError(int errCode, int extra)
onError
in interface CyberPlayerController.CyberPlayerControllerListener
public void setMediaController(BMediaController controller)
controller
- public void onClick(View v)
public boolean isPlaying()
isPlaying
in interface BMediaController.VideoViewControl
public void onPrePared()
onPrePared
in interface CyberPlayerController.CyberPlayerControllerListener
public void onCompletion()
onCompletion
in interface CyberPlayerController.CyberPlayerControllerListener
public void OnCompletionWithParam(int param)
OnCompletionWithParam
in interface CyberPlayerController.CyberPlayerControllerListener
public void onInfo(int what, int extra)
onInfo
in interface CyberPlayerController.CyberPlayerControllerListener
public SubtitleManager getSubtitlePlayManger(com.baidu.cyberplayer.subtitle.utils.SubtitleErrorCallback callback)