public class PlayerUpdate extends Event
| Modifier | Constructor and Description |
|---|---|
protected |
PlayerUpdate(Identification source)
Creates a new Event Object
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<PlayerUpdate> |
createPlayerUpdate(Identification source)
Creates a new Event Object
|
static Optional<PlayerUpdate> |
createPlayerUpdate(Identification source,
Playlist playlist)
Creates a new Event Object
|
static Optional<PlayerUpdate> |
createPlayerUpdate(Identification source,
TrackInfo trackInfo)
Creates a new Event Object
|
static Optional<PlayerUpdate> |
createPlayerUpdate(Identification source,
Volume volume)
Creates a new Event Object
|
addDescriptor, addEventLifeCycleListener, addResource, addResources, containsDescriptor, createEvent, createEvent, getAllInformations, getDescriptors, getEventBehaviourController, getID, getListResourceContainer, getSource, getType, lifecycleCallback, replaceDescriptors, setDescriptors, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisOwnerpublic static final String ID
protected PlayerUpdate(Identification source) throws IllegalArgumentException
source - the source of the Event, most likely a this reference.IllegalArgumentException - if one of the Arguments is null or emptypublic static Optional<PlayerUpdate> createPlayerUpdate(Identification source)
source - the source of the Event, most likely a this reference.IllegalArgumentException - if one of the Arguments is null or emptypublic static Optional<PlayerUpdate> createPlayerUpdate(Identification source, Volume volume)
source - the source of the Event, most likely a this reference.volume - the current volume, not nullIllegalArgumentException - if one of the Arguments is null or emptypublic static Optional<PlayerUpdate> createPlayerUpdate(Identification source, Playlist playlist)
source - the source of the Event, most likely a this reference.playlist - the current playing tracksIllegalArgumentException - if one of the Arguments is null or emptypublic static Optional<PlayerUpdate> createPlayerUpdate(Identification source, TrackInfo trackInfo)
source - the source of the Event, most likely a this reference.trackInfo - the current songIllegalArgumentException - if one of the Arguments is null or emptyCopyright © 2016. All rights reserved.