toggle menu
PLVAndroidMediaPlayer
2.3.0
release
switch theme
search in API
media-player-business
/
net.polyv.android.player.business.scene.common.player
/
IPLVMediaPlayer
IPLVMedia
Player
interface
IPLVMediaPlayer
:
IPLVMediaPlayerCore
Author
Hoshiiro
Members
Functions
bind
Auxiliary
Player
Link copied to clipboard
abstract
fun
bindAuxiliaryPlayer
(
auxiliaryPlayer
:
IPLVAuxiliaryMediaPlayer
)
绑定辅助播放器,用于播放片头片尾广告
change
Bit
Rate
Link copied to clipboard
abstract
fun
changeBitRate
(
bitRate
:
PLVMediaBitRate
)
切换码率
change
Media
Output
Mode
Link copied to clipboard
abstract
fun
changeMediaOutputMode
(
outputMode
:
PLVMediaOutputMode
)
设置音视频输出模式
change
Route
Link copied to clipboard
abstract
fun
changeRoute
(
route
:
PLVMediaRoute
)
切换线路
get
Business
Listener
Registry
Link copied to clipboard
abstract
fun
getBusinessListenerRegistry
(
)
:
IPLVMediaPlayerBusinessListenerRegistry
业务回调
restart
Link copied to clipboard
abstract
fun
restart
(
)
重新播放
set
Auto
Continue
Link copied to clipboard
abstract
fun
setAutoContinue
(
autoContinue
:
Boolean
)
是否自动续播
set
Media
Resource
Link copied to clipboard
abstract
fun
setMediaResource
(
mediaResource
:
PLVMediaResource
)
设置播放资源
set
Show
Subtitles
Link copied to clipboard
abstract
fun
setShowSubtitles
(
subtitles
:
List
<
<Error class: unknown class>
>
)
切换显示的字幕