Modifier and Type | Method and Description |
---|---|
abstract List<? extends Resource> |
ContentGenerator.triggered(List<? extends ResourceModel> list,
Optional<EventModel> optional)
this method is called when an object wants to get a Resource.
|
Modifier and Type | Class and Description |
---|---|
class |
SelectorResource
A resource which holds an Identification used for example to select the Player
|
Modifier and Type | Class and Description |
---|---|
class |
BroadcasterAvailablePlaylists
If the player is able to broadcast the available playlists, this resource can be used to them.
|
class |
BroadcasterPlaylist
use this method obtain a specified Playlist.
|
class |
CapabilitiesResource
this class is used to hold the capabilities-resource for events,can also be obtained via the resourceManager
|
class |
CommandResource
A resource containing commands for the player.
|
class |
MusicErrorResource
this class is used to hold the error-message
|
class |
MusicUsageResource
this resource signals that an addon requests playing.
|
class |
NowPlayingResource
returns the current played playlist if asked via the resourceManager
|
class |
PlaybackStateResource
this class simply holds the playback-state for events,can also be obtained via the resourceManager
|
class |
PlayerResource
A resource which holds an Identification used obtain the current playing OP
|
class |
PlaylistResource
this resource is simply used hold the playlist
|
class |
ProgressResource
this resource is simply used hold the progress for events,can also be obtained via the resourceManager
|
class |
TrackInfoResource
A resource which holds a trackInfo for events, can also be obtained via the resourceManager (retruns the current)
|
class |
VolumeResource
this resource is simply used hold the playlist, can be obtained via the resourceManager
|
Modifier and Type | Class and Description |
---|---|
class |
UsingSoundResource
every outputPlugin which is permanently using the sound output provides his identification here
|
Modifier and Type | Class and Description |
---|---|
class |
LastEncountered
this Resource holds an integer containing the Seconds passed since the User was last encountered
|
class |
PresenceResource
returns true if the user might be around.
|
Modifier and Type | Method and Description |
---|---|
Resource<T> |
Resource.setConsumer(Identification consumer)
sets who should or has consumed the Resource Object.
|
Resource<T> |
Resource.setProvider(Identification provider)
sets who should or has provided the Resource Object.
|
Resource<T> |
Resource.setResource(T resource)
sets the Resource data.
|
Modifier and Type | Method and Description |
---|---|
List<Resource> |
Resource.toList()
creates a list with this Element in it.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Resource> |
ContentGeneratorModel.getTriggeredResources()
This method is called to register what resources the object provides.
|
Modifier and Type | Method and Description |
---|---|
default <T> Optional<Resource<T>> |
ResourceCreator.createResource(String id)
creates a new Resource with the specified ID (=Name)
|
default <T> Optional<Resource<T>> |
ResourceCreator.createResource(String id,
Identification consumer)
creates a new Resource with the specified ID (=Name)
|
default <T> Optional<Resource<T>> |
ResourceCreator.createResource(String id,
T t)
creates a new Resource with the specified ID (=Name)
|
default <T> Optional<Resource<T>> |
ResourceCreator.createResource(String id,
T t,
Identification consumer)
creates a new Resource with the specified ID (=Name)
|
Copyright © 2016. All rights reserved.