PlayerAudioFocusContractTest.PlayerInfo


interface PlayerAudioFocusContractTest.PlayerInfo


Interface that allows access to a Player instance and its internal Clock and processing Looper.

Summary

Public functions

getAudioFocusListenerLooper

fun getAudioFocusListenerLooper(): Looper!

getClock

fun getClock(): Clock!

getPlaybackLooper

fun getPlaybackLooper(): Looper!

getPlayer

fun getPlayer(): Player!

setMediaItem

fun setMediaItem(item: MediaItem!): Unit

Sets a MediaItem on the Player.

Only implement this method if the Player implementation does not support COMMAND_SET_MEDIA_ITEM.