ScrubbingModeContractTest.PlayerInfo


interface ScrubbingModeContractTest.PlayerInfo


Interface that allows access to a Player instance, relevant internals, and other methods not implemented within the Player interface required for testing.

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.

setScrubbingModeEnabled

fun setScrubbingModeEnabled(scrubbingModeEnabled: Boolean): Unit