Modifier and Type | Method and Description |
---|---|
PlaybackState |
MusicProvider.getPlaybackState()
gets the PlaybackState of the Player
|
static PlaybackState |
PlaybackState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlaybackState[] |
PlaybackState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default void |
MusicHelper.updateStateInfo(PlaybackState playbackState)
updates the PlaybackState
|
Modifier and Type | Method and Description |
---|---|
PlaybackState |
InformationProvider.getPlaybackState()
gets the PlaybackState of the Player
|
PlaybackState |
Player.getPlaybackState()
gets the PlaybackState of the Player
|
Modifier and Type | Method and Description |
---|---|
static Optional<PlaybackState> |
PlaybackStateResource.getPlaybackStateFromResource(ResourceModel x)
returns the PlaybackState from the resource
|
Constructor and Description |
---|
PlaybackStateResource(Identification provider,
PlaybackState state)
creates a new Resource.
|
PlaybackStateResource(Identification provider,
PlaybackState state,
Identification consumer)
creates a new Resource.
|
Copyright © 2016. All rights reserved.