Modifier and Type | Method and Description |
---|---|
static Optional<PlayerUpdate> |
PlayerUpdate.createPlayerUpdate(Identification source,
Volume volume)
Creates a new Event Object
|
Modifier and Type | Method and Description |
---|---|
Volume |
MusicProvider.getVolume()
gets the Volume
|
Modifier and Type | Method and Description |
---|---|
static Optional<Volume> |
Volume.createVolume(int volume) |
Modifier and Type | Method and Description |
---|---|
default void |
MusicHelper.startedSound(Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume,
boolean isUsingJava)
fires an StartEvent
|
default void |
MusicHelper.updatePlayInfo(Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume)
fires an update event which notifies that parameters have changed
|
default void |
MusicHelper.updatePlayInfo(Volume volume)
fires an update event which notifies that parameters have changed
|
Modifier and Type | Method and Description |
---|---|
Volume |
InformationProvider.getVolume()
gets the Volume
|
Volume |
Player.getVolume()
gets the Volume
|
Modifier and Type | Method and Description |
---|---|
void |
PlayerController.command(String command,
Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume)
commands the player to fulfill the command
|
void |
Player.updatePlayInfo(Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume)
fires an update event which notifies that parameters have changed
|
void |
Player.updatePlayInfo(Playlist playlist,
Progress progress,
Volume volume)
updates the Info about the current song
|
void |
Player.updatePlayInfo(Volume volume)
fires an update event which notifies that parameters have changed
|
Modifier and Type | Method and Description |
---|---|
void |
CommandHandler.setVolumeChangeableController(java.util.function.Consumer<Volume> controller)
adds the ability to change the volume from outside the player
|
Modifier and Type | Method and Description |
---|---|
static Optional<Volume> |
VolumeResource.getVolume(EventModel eventModel)
gets the first Volume if found in the EventModel
|
Constructor and Description |
---|
VolumeResource(Identification provider,
Volume volume)
creates a new Resource.
|
VolumeResource(Identification provider,
Volume volume,
Identification consumer)
creates a new Resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PlayerRequest.setVolume(Volume volume)
sets the Volume if the Player supports it.
|
PlayerRequest |
PlayerRequest.trySetVolume(Volume volume)
tries to set the Volume of the PlayerRequest.
|
Constructor and Description |
---|
PlayerRequest(TrackInfo trackInfo,
Playlist playlist,
boolean permanent,
Identification player,
Capabilities capabilities,
Context context,
Identifiable identifiable,
Volume volume)
internal Constructor
|
Copyright © 2016. All rights reserved.