ScrubbingModeContractTest.PlayerInfo


public 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 methods

abstract Looper
abstract Clock
abstract Looper
abstract Player
default void

Sets a MediaItem on the Player.

abstract void
setScrubbingModeEnabled(boolean scrubbingModeEnabled)

Public methods

getAudioFocusListenerLooper

abstract Looper getAudioFocusListenerLooper()

getClock

abstract Clock getClock()

getPlaybackLooper

abstract Looper getPlaybackLooper()

getPlayer

abstract Player getPlayer()

setMediaItem

default void setMediaItem(MediaItem item)

Sets a MediaItem on the Player.

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

setScrubbingModeEnabled

abstract void setScrubbingModeEnabled(boolean scrubbingModeEnabled)