Modifier and Type | Method and Description |
---|---|
static Capabilities |
Capabilities.constructCapabilites(HashMap<String,Boolean> data,
Context context) |
Modifier and Type | Method and Description |
---|---|
static Optional<Capabilities> |
Capabilities.importFromResource(ResourceModel resourceModel,
Context context)
creates a TrackInfo from the resourceModel
|
Modifier and Type | Method and Description |
---|---|
static Optional<PlayerCommand> |
PlayerCommand.createPlayerCommand(Identification source,
Identification target,
String command,
Capabilities capabilities,
Context context)
Creates a new Event Object
|
static boolean |
StartMusicRequest.verify(EventModel eventModel,
Capabilities capabilities,
Identifiable player,
List<Identifiable> activators)
verifies that the StartMusicRequest is correct and checks whether the you are meant to react to it
|
Modifier and Type | Method and Description |
---|---|
Capabilities |
MusicProvider.getCapabilities()
gets the Capabilities of the Player
|
Modifier and Type | Method and Description |
---|---|
boolean |
Playlist.verify(Capabilities capabilities)
returns true if all the active playbackModes are supported
|
Modifier and Type | Method and Description |
---|---|
Capabilities |
InformationProvider.getCapabilities()
gets the Capabilities of the Player
|
Capabilities |
Player.getCapabilities()
gets the Capabilities of the Player
|
Constructor and Description |
---|
CommandHandler(MusicHelper musicHelper,
MusicProvider musicProvider,
Runnable stopCallback,
Capabilities capabilities)
creates a new CommandHandler
|
Modifier and Type | Method and Description |
---|---|
static Optional<CommandResource> |
CommandResource.createCommandResource(Identification provider,
String command,
Capabilities capabilities,
Context context)
creates a new Resource.
|
static boolean |
CommandResource.verify(String command,
Capabilities capabilities)
verifies tha the command is legal and able to be executed
|
static boolean |
CommandResource.verifyCapabilities(String command,
Capabilities capabilities)
verifies that the player is capable of handling the command
|
Constructor and Description |
---|
CapabilitiesResource(Identification provider,
Capabilities capabilities)
creates a new Resource.
|
CapabilitiesResource(Identification provider,
Capabilities capabilities,
Identification consumer)
creates a new Resource.
|
Modifier and Type | Method and Description |
---|---|
Capabilities |
PlaylistSelector.getCapabilities()
returns the Capabilities of the Player
|
Constructor and Description |
---|
PlayerRequest(TrackInfo trackInfo,
Playlist playlist,
boolean permanent,
Identification player,
Capabilities capabilities,
Context context,
Identifiable identifiable)
internal Constructor
|
PlayerRequest(TrackInfo trackInfo,
Playlist playlist,
boolean permanent,
Identification player,
Capabilities capabilities,
Context context,
Identifiable identifiable,
Volume volume)
internal Constructor
|
PlaylistSelector(Identification player,
Capabilities capabilities,
List<String> playlists,
Context context,
Identifiable identifiable)
creates a new PlaylistSelector
|
Copyright © 2016. All rights reserved.