public interface PlayerStateListener extends Player.OnPlaybackStateChangeListener, Player.OnPrepareListener, Player.OnStalledChangeListener, Player.OnBufferedProgressChangeListener, Player.OnPlayingMusicItemChangeListener, Player.OnSeekCompleteListener, Player.OnPlaylistChangeListener, Player.OnPlayModeChangeListener, Player.OnRepeatListener, Player.OnSpeedChangeListener
限定符和类型 | 方法和说明 |
---|---|
void |
onShutdown()
当服务端准备关闭时会回调该方法,此时客户端应主动断开与服务端的连接。
|
onError, onPause, onPlay, onStop
onPrepared, onPreparing
onStalledChanged
onBufferedProgressChanged
onPlayingMusicItemChanged
onSeekComplete
onPlaylistChanged
onPlayModeChanged
onRepeat
onSpeedChanged