Modifier and Type | Method and Description |
---|---|
Event |
Event.addDescriptor(String descriptor)
sets the Descriptors (but not the Event-Type).
|
Event |
Event.addEventLifeCycleListener(EventLifeCycle eventLifeCycle,
java.util.function.Consumer<EventLifeCycle> cycleCallback)
adds the Consumer to the specified EventLifeCycle.
|
Event |
Event.addResource(ResourceModel resource)
adds a Resource to the Container
|
Event |
Event.addResources(List<ResourceModel> resources)
adds a List of Resources to the Container
|
Event |
Event.replaceDescriptors(List<String> descriptors)
replaces the Descriptors
|
Event |
Event.setDescriptors(List<String> descriptors)
sets the Descriptors (but not the Event-Type).
|
Modifier and Type | Method and Description |
---|---|
static Optional<Event> |
Event.createEvent(String type,
Identification source)
Creates a new Event Object
|
static Optional<Event> |
Event.createEvent(String type,
Identification source,
List<String> descriptors)
Creates a new Event Object
|
Modifier and Type | Class and Description |
---|---|
class |
PlayerCommand |
class |
PlayerError |
class |
PlayerUpdate |
class |
StartMusicRequest
this events request the start of the music-playing
|
class |
StopMusic
use this event to stop the music from playing
|
Modifier and Type | Class and Description |
---|---|
class |
EndedEvent
this event indicates that the sound ended
|
class |
MuteEvent
signals that every Sound-Output should mute
|
class |
StartEvent
signals that an output started
|
class |
StopEvent
signals that every sound-output should stop
|
class |
UnMuteEvent
signals that every sound-output should unmute
|
Modifier and Type | Class and Description |
---|---|
class |
LeavingEvent
this event guarantees that the user is not around anymore (as much as possible).
|
class |
PresenceEvent
this event indicates presence
|
Modifier and Type | Method and Description |
---|---|
default boolean |
FireEvent.fire(Event event)
tries to fire an an Event 5 times, returns true if succeed.
|
default boolean |
FireEvent.fire(Event event,
int retry)
tries to fire an an Event specified times, returns true if succeed.
|
Copyright © 2016. All rights reserved.