AudioFocusManager.PlayerControl


public interface AudioFocusManager.PlayerControl


Interface to allow AudioFocusManager to give commands to a player.

Summary

Public methods

abstract void

Called when a command must be executed on the player.

abstract void
setVolumeMultiplier(float volumeMultiplier)

Called when the volume multiplier on the player should be changed.

Public methods

executePlayerCommand

abstract void executePlayerCommand(@AudioFocusManager.PlayerCommand int playerCommand)

Called when a command must be executed on the player.

Parameters
@AudioFocusManager.PlayerCommand int playerCommand

The command that must be executed.

setVolumeMultiplier

abstract void setVolumeMultiplier(float volumeMultiplier)

Called when the volume multiplier on the player should be changed.

Parameters
float volumeMultiplier

The new volume multiplier.