com.bokecc.sdk.mobile.play

## 类 DWIjkMediaPlayer

- java.lang.Object
- - tv.danmaku.ijk.media.player.AbstractMediaPlayer
  - - tv.danmaku.ijk.media.player.IjkMediaPlayer
    - - com.bokecc.sdk.mobile.play.DWIjkMediaPlayer

- 所有已实现的接口:
    tv.danmaku.ijk.media.player.IMediaPlayer

      public class DWIjkMediaPlayer
      extends tv.danmaku.ijk.media.player.IjkMediaPlayer

  视频播放器

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 tv.danmaku.ijk.media.player.IjkMediaPlayer

      `tv.danmaku.ijk.media.player.IjkMediaPlayer.DefaultMediaCodecSelector, tv.danmaku.ijk.media.player.IjkMediaPlayer.OnControlMessageListener, tv.danmaku.ijk.media.player.IjkMediaPlayer.OnMediaCodecSelectListener, tv.danmaku.ijk.media.player.IjkMediaPlayer.OnNativeInvokeListener`

    - ### 从接口继承的嵌套类/接口 tv.danmaku.ijk.media.player.IMediaPlayer

      `tv.danmaku.ijk.media.player.IMediaPlayer.OnBufferingUpdateListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnCompletionListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnErrorListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnInfoListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnPreparedListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnSeekCompleteListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnTimedTextListener, tv.danmaku.ijk.media.player.IMediaPlayer.OnVideoSizeChangedListener`

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static java.lang.Integer` | `HIGH_DEFINITION`
    `static int` | `MEDIA_ERROR_DRM_LOCAL_SERVER`
    `static java.lang.Integer` | `NORMAL_DEFINITION`

    - ### 从类继承的字段 tv.danmaku.ijk.media.player.IjkMediaPlayer

      `FFP_PROP_FLOAT_DROP_FRAME_RATE, FFP_PROP_FLOAT_PLAYBACK_RATE, FFP_PROP_INT64_ASYNC_STATISTIC_BUF_BACKWARDS, FFP_PROP_INT64_ASYNC_STATISTIC_BUF_CAPACITY, FFP_PROP_INT64_ASYNC_STATISTIC_BUF_FORWARDS, FFP_PROP_INT64_AUDIO_CACHED_BYTES, FFP_PROP_INT64_AUDIO_CACHED_DURATION, FFP_PROP_INT64_AUDIO_CACHED_PACKETS, FFP_PROP_INT64_AUDIO_DECODER, FFP_PROP_INT64_BIT_RATE, FFP_PROP_INT64_CACHE_STATISTIC_COUNT_BYTES, FFP_PROP_INT64_CACHE_STATISTIC_FILE_FORWARDS, FFP_PROP_INT64_CACHE_STATISTIC_FILE_POS, FFP_PROP_INT64_CACHE_STATISTIC_PHYSICAL_POS, FFP_PROP_INT64_IMMEDIATE_RECONNECT, FFP_PROP_INT64_LATEST_SEEK_LOAD_DURATION, FFP_PROP_INT64_LOGICAL_FILE_SIZE, FFP_PROP_INT64_SELECTED_AUDIO_STREAM, FFP_PROP_INT64_SELECTED_TIMEDTEXT_STREAM, FFP_PROP_INT64_SELECTED_VIDEO_STREAM, FFP_PROP_INT64_SHARE_CACHE_DATA, FFP_PROP_INT64_TCP_SPEED, FFP_PROP_INT64_TRAFFIC_STATISTIC_BYTE_COUNT, FFP_PROP_INT64_VIDEO_CACHED_BYTES, FFP_PROP_INT64_VIDEO_CACHED_DURATION, FFP_PROP_INT64_VIDEO_CACHED_PACKETS, FFP_PROP_INT64_VIDEO_DECODER, FFP_PROPV_DECODER_AVCODEC, FFP_PROPV_DECODER_MEDIACODEC, FFP_PROPV_DECODER_UNKNOWN, FFP_PROPV_DECODER_VIDEOTOOLBOX, IJK_LOG_DEBUG, IJK_LOG_DEFAULT, IJK_LOG_ERROR, IJK_LOG_FATAL, IJK_LOG_INFO, IJK_LOG_SILENT, IJK_LOG_UNKNOWN, IJK_LOG_VERBOSE, IJK_LOG_WARN, MEDIA_SET_VIDEO_SAR, OPT_CATEGORY_CODEC, OPT_CATEGORY_FORMAT, OPT_CATEGORY_PLAYER, OPT_CATEGORY_SWS, PROP_FLOAT_VIDEO_DECODE_FRAMES_PER_SECOND, PROP_FLOAT_VIDEO_OUTPUT_FRAMES_PER_SECOND, SDL_FCC_RV16, SDL_FCC_RV32, SDL_FCC_YV12`

    - ### 从接口继承的字段 tv.danmaku.ijk.media.player.IMediaPlayer

      `MEDIA_ERROR_IO, MEDIA_ERROR_MALFORMED, MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK, MEDIA_ERROR_SERVER_DIED, MEDIA_ERROR_TIMED_OUT, MEDIA_ERROR_UNKNOWN, MEDIA_ERROR_UNSUPPORTED, MEDIA_INFO_AUDIO_DECODED_START, MEDIA_INFO_AUDIO_RENDERING_START, MEDIA_INFO_AUDIO_SEEK_RENDERING_START, MEDIA_INFO_BAD_INTERLEAVING, MEDIA_INFO_BUFFERING_END, MEDIA_INFO_BUFFERING_START, MEDIA_INFO_COMPONENT_OPEN, MEDIA_INFO_FIND_STREAM_INFO, MEDIA_INFO_MEDIA_ACCURATE_SEEK_COMPLETE, MEDIA_INFO_METADATA_UPDATE, MEDIA_INFO_NETWORK_BANDWIDTH, MEDIA_INFO_NOT_SEEKABLE, MEDIA_INFO_OPEN_INPUT, MEDIA_INFO_STARTED_AS_NEXT, MEDIA_INFO_SUBTITLE_TIMED_OUT, MEDIA_INFO_TIMED_TEXT_ERROR, MEDIA_INFO_UNKNOWN, MEDIA_INFO_UNSUPPORTED_SUBTITLE, MEDIA_INFO_VIDEO_DECODED_START, MEDIA_INFO_VIDEO_RENDERING_START, MEDIA_INFO_VIDEO_ROTATION_CHANGED, MEDIA_INFO_VIDEO_SEEK_RENDERING_START, MEDIA_INFO_VIDEO_TRACK_LAGGING`

  - ### 构造器概要

    构造器
    构造器和说明
    `DWIjkMediaPlayer()`
    `DWIjkMediaPlayer(boolean forceDisplayAnswerSheet)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `clearMediaData()` 清除上一次的数据
    `boolean` | `definitionChanged()`
    `void` | `executePortInfo()` 获取图文打点相关信息
    `void` | `getDanmuList(java.lang.String videoId, int sec)`
    `int` | `getDefinitionCode()` 获取当前播放视频的清晰度
    `java.util.Map<java.lang.String,java.lang.Integer>` | `getDefinitions()` 返回视频清晰度列表 注：若播放本地视频，则返回NULL
    `java.lang.String` | `getMarqueeData()`
    `MarqueeInfo` | `getMarqueeInfo(java.lang.String marqueeData)` 获取离线跑马灯数据
    `OnSubtitleMsgListener` | `getOnSubtitleMsgListener()`
    `int` | `getPausedTime()`
    `int` | `getPlayedTime()`
    `PlayInfo` | `getPlayInfo()` 只能在准备完成的情况下调用
    `int` | `getSubtitleModel()`
    `boolean` | `getVideoScreenShot(android.graphics.Bitmap bitmap, java.lang.String outputPath)`
    `java.lang.String` | `getVideoStatusInfo()` 返回视频状态信息 注：若播放本地视频，则返回NULL
    `java.lang.String` | `getVideoTitle()` 返回视频标题 注：若播放本地视频，则返回NULL
    `boolean` | `isAutoPlay()`
    `boolean` | `isForceDisplayAnswerSheet()`
    `boolean` | `isHideAnswerSheet()`
    `boolean` | `isPlayModelChanged()`
    `void` | `onSubmitAnswer(int currentSheetInfoId, java.util.List<AnswerSheetInfo.Answer> selectedAnswer)` 答题器判断题提交答案
    `void` | `pause()`
    `void` | `pauseWithoutAnalyse()` 暂停，不发统计信息
    `void` | `playModelChanged()`
    `void` | `prepareAsync()` 重载父类方法prepareAsync()
    `void` | `release()`
    `void` | `resetPlayedAndPausedTime()`
    `void` | `seekTo(long msec)`
    `void` | `sendDanmu(java.lang.String videoId, java.lang.String content, long pt, java.lang.String fc, OnSendDanmuListener onSendDanmuListener)`
    `void` | `setAntiRecordScreen(android.app.Activity activity)`
    `DWIjkMediaPlayer` | `setAudioPlay(boolean isAudio)` 用于设置想要的播放模式，只有在`MediaMode.VIDEOAUDIO`这种mode下，设置才有效
    `void` | `setAutoPlay(boolean autoPlay)`
    `void` | `setBackupPlay(boolean isBackupPlay)` 设置是否播放备份节点，默认播放主节点
    `void` | `setChannel(java.lang.String tpl)`
    `void` | `setClientId(java.lang.String clientId)`
    `void` | `setCustomId(java.lang.String customId)` 设置custom_id
    `void` | `setDefaultDefinition(java.lang.Integer definition)` 设置播放默认清晰度
    `DWIjkMediaPlayer` | `setDefaultPlayMode(MediaMode playMode, OnPlayModeListener onPlayModeListener)` 设置当前播放模式，可以设置为音视频模式、音频模式和视频模式，默认为VIDEO模式
    `void` | `setDefinition(android.content.Context context, int definition)` 设置视频播放清晰度 注：若不存在指定清晰度的视频，则返回最低清晰度的视频
    `void` | `setDRMServerPort(int drmServerPort)` 设置DRM服务端口号
    `void` | `setHideAnswerSheet(boolean hideAnswerSheet)`
    `void` | `setHttpsPlay(boolean isHttps)` 设置是否是https的播放地址，需要在prepareasync之前设置，如果需要重置，需要先调用stop();
    `void` | `setOfflineVideoPath(java.lang.String path, android.content.Context context)` 设置加密视频文件地址
    `void` | `setOnAnswerSheetListener(AnswerSheetListener answerSheetListener)`
    `void` | `setOnAuthMsgListener(OnAuthMsgListener onAuthMsgListener)` 设置鉴权监听器
    `void` | `setOnBufferingUpdateListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnBufferingUpdateListener listener)`
    `void` | `setOnCompletionListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnCompletionListener listener)`
    `void` | `setOnDanmuListListener(OnDanmuListListener onDanmuListListener)`
    `void` | `setOnDreamWinErrorListener(OnDreamWinErrorListener listener)` 设置请求网络异常的回调
    `void` | `setOnErrorListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnErrorListener listener)`
    `void` | `setOnExercisesMsgListener(OnExercisesMsgListener onExercisesMsgListener)`
    `void` | `setOnHotspotListener(OnHotspotListener onHotspotListener)`
    `void` | `setOnInfoListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnInfoListener listener)`
    `void` | `setOnPreparedListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnPreparedListener listener)`
    `void` | `setOnQaMsgListener(OnQAMsgListener qaMsgListener)`
    `void` | `setOnSeekCompleteListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnSeekCompleteListener listener)`
    `void` | `setOnSubtitleMsgListener(OnSubtitleMsgListener onSubtitleMsgListener)`
    `void` | `setOnVisitMsgListener(OnVisitMsgListener onVisitMsgListener)`
    `void` | `setSpeed(float speed)`
    `void` | `setSubtitleModel(SubtitleModel subtitleModel)`
    `void` | `setSurface(android.view.Surface surface)`
    `void` | `setThumbnailsCallback(ThumbnailsCallback thumbnailsCallback)`
    `void` | `setVideoPlayInfo(java.lang.String videoId, java.lang.String userId, java.lang.String apiKey, java.lang.String verificationCode, android.content.Context context)` 设置视频播放信息
    `void` | `start()`
    `void` | `stop()`

    - ### 从类继承的方法 tv.danmaku.ijk.media.player.IjkMediaPlayer

      `_prepareAsync, deselectTrack, finalize, getAsyncStatisticBufBackwards, getAsyncStatisticBufCapacity, getAsyncStatisticBufForwards, getAudioCachedBytes, getAudioCachedDuration, getAudioCachedPackets, getAudioSessionId, getBitRate, getCacheStatisticCountBytes, getCacheStatisticFileForwards, getCacheStatisticFilePos, getCacheStatisticPhysicalPos, getColorFormatName, getCurrentPosition, getDataSource, getDropFrameRate, getDuration, getFileSize, getMediaInfo, getMediaMeta, getSeekLoadDuration, getSelectedTrack, getSpeed, getTcpSpeed, getTrackInfo, getTrafficStatisticByteCount, getVideoCachedBytes, getVideoCachedDuration, getVideoCachedPackets, getVideoDecodeFramesPerSecond, getVideoDecoder, getVideoHeight, getVideoOutputFramesPerSecond, getVideoSarDen, getVideoSarNum, getVideoWidth, httphookReconnect, isLooping, isPlayable, isPlaying, loadLibrariesOnce, native_profileBegin, native_profileEnd, native_setLogLevel, reset, resetListeners, selectTrack, setAndroidIOCallback, setAudioStreamType, setCacheShare, setDataSource, setDataSource, setDataSource, setDataSource, setDataSource, setDataSource, setDisplay, setKeepInBackground, setLogEnabled, setLooping, setOnControlMessageListener, setOnMediaCodecSelectListener, setOnNativeInvokeListener, setOption, setOption, setScreenOnWhilePlaying, setVolume, setWakeMode`

    - ### 从类继承的方法 tv.danmaku.ijk.media.player.AbstractMediaPlayer

      `notifyOnBufferingUpdate, notifyOnCompletion, notifyOnError, notifyOnInfo, notifyOnPrepared, notifyOnSeekComplete, notifyOnTimedText, notifyOnVideoSizeChanged, setOnTimedTextListener, setOnVideoSizeChangedListener`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### NORMAL_DEFINITION

          public static final java.lang.Integer NORMAL_DEFINITION

    - #### HIGH_DEFINITION

          public static final java.lang.Integer HIGH_DEFINITION

    - #### MEDIA_ERROR_DRM_LOCAL_SERVER

          public static final int MEDIA_ERROR_DRM_LOCAL_SERVER

      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### DWIjkMediaPlayer

          public DWIjkMediaPlayer()

    - #### DWIjkMediaPlayer

          public DWIjkMediaPlayer(boolean forceDisplayAnswerSheet)

  - ### 方法详细资料

    - #### isHideAnswerSheet

          public boolean isHideAnswerSheet()

    - #### setHideAnswerSheet

          public void setHideAnswerSheet(boolean hideAnswerSheet)

    - #### isAutoPlay

          public boolean isAutoPlay()

    - #### setAutoPlay

          public void setAutoPlay(boolean autoPlay)

    - #### setSubtitleModel

          public void setSubtitleModel(SubtitleModel subtitleModel)

    - #### getSubtitleModel

          public int getSubtitleModel()

    - #### getMarqueeData

          public java.lang.String getMarqueeData()

    - #### isForceDisplayAnswerSheet

          public boolean isForceDisplayAnswerSheet()

    - #### setSpeed

          public void setSpeed(float speed)

      覆盖:
        `setSpeed` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### start

          public void start()

      指定者:
        `start` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `start` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### definitionChanged

          public boolean definitionChanged()

    - #### pause

          public void pause()

      指定者:
        `pause` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `pause` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### pauseWithoutAnalyse

          public void pauseWithoutAnalyse()

      暂停，不发统计信息

    - #### seekTo

          public void seekTo(long msec)

      指定者:
        `seekTo` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `seekTo` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### playModelChanged

          public void playModelChanged()

    - #### isPlayModelChanged

          public boolean isPlayModelChanged()

    - #### onSubmitAnswer

          public void onSubmitAnswer(int currentSheetInfoId,
                                     java.util.List<AnswerSheetInfo.Answer> selectedAnswer)

      答题器判断题提交答案

    - #### executePortInfo

          public void executePortInfo()

      获取图文打点相关信息

    - #### setOnPreparedListener

          public void setOnPreparedListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnPreparedListener listener)

      指定者:
        `setOnPreparedListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnPreparedListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setOnCompletionListener

          public void setOnCompletionListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnCompletionListener listener)

      指定者:
        `setOnCompletionListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnCompletionListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setOnBufferingUpdateListener

          public void setOnBufferingUpdateListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnBufferingUpdateListener listener)

      指定者:
        `setOnBufferingUpdateListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnBufferingUpdateListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setOnSeekCompleteListener

          public void setOnSeekCompleteListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnSeekCompleteListener listener)

      指定者:
        `setOnSeekCompleteListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnSeekCompleteListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setOnInfoListener

          public void setOnInfoListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnInfoListener listener)

      指定者:
        `setOnInfoListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnInfoListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setSurface

          public void setSurface(android.view.Surface surface)

      指定者:
        `setSurface` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setSurface` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### setOnErrorListener

          public void setOnErrorListener(tv.danmaku.ijk.media.player.IMediaPlayer.OnErrorListener listener)

      指定者:
        `setOnErrorListener` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `setOnErrorListener` 在类中 `tv.danmaku.ijk.media.player.AbstractMediaPlayer`

    - #### setOnDreamWinErrorListener

          public void setOnDreamWinErrorListener(OnDreamWinErrorListener listener)

      设置请求网络异常的回调
      参数:
        `listener` - OnDreamWinErrorListener

    - #### getVideoTitle

          public java.lang.String getVideoTitle()

      返回视频标题 注：若播放本地视频，则返回NULL
      返回:
        视频标题

    - #### getVideoStatusInfo

          public java.lang.String getVideoStatusInfo()

      返回视频状态信息 注：若播放本地视频，则返回NULL
      返回:
        视频状态信息

    - #### getDefinitions

          public java.util.Map<java.lang.String,java.lang.Integer> getDefinitions()

      返回视频清晰度列表 注：若播放本地视频，则返回NULL
      返回:
        清晰度列表

    - #### setDefinition

          public void setDefinition(android.content.Context context,
                                    int definition)
                             throws java.io.IOException

      设置视频播放清晰度 注：若不存在指定清晰度的视频，则返回最低清晰度的视频
      参数:
        `context` - context
        `definition` - definition
      抛出:
        `java.io.IOException` - IOException

    - #### getDefinitionCode

          public int getDefinitionCode()

      获取当前播放视频的清晰度
      返回:
        当前播放视频的清晰度Code

    - #### prepareAsync

          public void prepareAsync()
                            throws java.lang.IllegalStateException

      重载父类方法prepareAsync()
      指定者:
        `prepareAsync` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `prepareAsync` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`
      抛出:
        `java.lang.IllegalStateException`

    - #### setVideoPlayInfo

          public void setVideoPlayInfo(java.lang.String videoId,
                                       java.lang.String userId,
                                       java.lang.String apiKey,
                                       java.lang.String verificationCode,
                                       android.content.Context context)

      设置视频播放信息
      参数:
        `videoId` - 视频ID
        `userId` - 帐户ID
        `apiKey` - API KEY
        `context` - 上下文信息

    - #### setChannel

          public void setChannel(java.lang.String tpl)

    - #### getMarqueeInfo

          public MarqueeInfo getMarqueeInfo(java.lang.String marqueeData)

      获取离线跑马灯数据
      参数:
        `marqueeData` - marqueeData

    - #### setOfflineVideoPath

          public void setOfflineVideoPath(java.lang.String path,
                                          android.content.Context context)
                                   throws java.lang.IllegalArgumentException,
                                          java.lang.SecurityException,
                                          java.lang.IllegalStateException,
                                          java.io.IOException

      设置加密视频文件地址
      参数:
        `path` - 文件地址
        `context` - 上下文信息
      抛出:
        `java.io.IOException` - IOException
        `java.lang.IllegalStateException` - IllegalStateException
        `java.lang.SecurityException` - SecurityException
        `java.lang.IllegalArgumentException` - IllegalArgumentException

    - #### setDRMServerPort

          public void setDRMServerPort(int drmServerPort)

      设置DRM服务端口号
      参数:
        `drmServerPort` - drmServerPort

    - #### setDefaultDefinition

          public void setDefaultDefinition(java.lang.Integer definition)

      设置播放默认清晰度
      参数:
        `definition` - definition

    - #### stop

          public void stop()
                    throws java.lang.IllegalStateException

      指定者:
        `stop` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `stop` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`
      抛出:
        `java.lang.IllegalStateException`

    - #### clearMediaData

          public void clearMediaData()

      清除上一次的数据

    - #### setAntiRecordScreen

          public void setAntiRecordScreen(android.app.Activity activity)

    - #### release

          public void release()

      指定者:
        `release` 在接口中 `tv.danmaku.ijk.media.player.IMediaPlayer`
      覆盖:
        `release` 在类中 `tv.danmaku.ijk.media.player.IjkMediaPlayer`

    - #### setHttpsPlay

          public void setHttpsPlay(boolean isHttps)

      设置是否是https的播放地址，需要在prepareasync之前设置，如果需要重置，需要先调用stop();
      参数:
        `isHttps` - isHttps

    - #### setBackupPlay

          public void setBackupPlay(boolean isBackupPlay)

      设置是否播放备份节点，默认播放主节点
      参数:
        `isBackupPlay` - isBackupPlay

    - #### getPlayInfo

          public PlayInfo getPlayInfo()

      只能在准备完成的情况下调用
      返回:
        PlayInfo

    - #### setCustomId

          public void setCustomId(java.lang.String customId)

      设置custom_id
      参数:
        `customId` - customId

    - #### setDefaultPlayMode

          public DWIjkMediaPlayer setDefaultPlayMode(MediaMode playMode,
                                                     OnPlayModeListener onPlayModeListener)

      设置当前播放模式，可以设置为音视频模式、音频模式和视频模式，默认为VIDEO模式
      参数:
        `playMode` - `MediaMode`
        `onPlayModeListener` - 回调支持的模式

    - #### setAudioPlay

          public DWIjkMediaPlayer setAudioPlay(boolean isAudio)

      用于设置想要的播放模式，只有在`MediaMode.VIDEOAUDIO`这种mode下，设置才有效
      参数:
        `isAudio` - true表示为音频，false表示为视频，默认为视频播放

    - #### setOnHotspotListener

          public void setOnHotspotListener(OnHotspotListener onHotspotListener)

    - #### setThumbnailsCallback

          public void setThumbnailsCallback(ThumbnailsCallback thumbnailsCallback)

    - #### setOnQaMsgListener

          public void setOnQaMsgListener(OnQAMsgListener qaMsgListener)

    - #### setOnAnswerSheetListener

          public void setOnAnswerSheetListener(AnswerSheetListener answerSheetListener)

    - #### setOnSubtitleMsgListener

          public void setOnSubtitleMsgListener(OnSubtitleMsgListener onSubtitleMsgListener)

    - #### getOnSubtitleMsgListener

          public OnSubtitleMsgListener getOnSubtitleMsgListener()

    - #### setOnAuthMsgListener

          public void setOnAuthMsgListener(OnAuthMsgListener onAuthMsgListener)

      设置鉴权监听器

    - #### setOnVisitMsgListener

          public void setOnVisitMsgListener(OnVisitMsgListener onVisitMsgListener)

    - #### setOnExercisesMsgListener

          public void setOnExercisesMsgListener(OnExercisesMsgListener onExercisesMsgListener)

    - #### getPlayedTime

          public int getPlayedTime()

    - #### getPausedTime

          public int getPausedTime()

    - #### resetPlayedAndPausedTime

          public void resetPlayedAndPausedTime()

    - #### getVideoScreenShot

          public boolean getVideoScreenShot(android.graphics.Bitmap bitmap,
                                            java.lang.String outputPath)

    - #### sendDanmu

          public void sendDanmu(java.lang.String videoId,
                                java.lang.String content,
                                long pt,
                                java.lang.String fc,
                                OnSendDanmuListener onSendDanmuListener)

    - #### getDanmuList

          public void getDanmuList(java.lang.String videoId,
                                   int sec)

    - #### setOnDanmuListListener

          public void setOnDanmuListListener(OnDanmuListListener onDanmuListListener)

    - #### setClientId

          public void setClientId(java.lang.String clientId)