Class PlaybackQueue
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.special.PlaybackQueue
- All Implemented Interfaces:
Serializable
,IModelObject
Get the list of items that make up the user's queue.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for buildingPlaybackQueue
instances.static final class
JsonUtil class for buildingPlaybackQueue
instances.Nested classes/interfaces inherited from interface se.michaelthelin.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
Method Summary
-
Method Details
-
getCurrentlyPlaying
Get the user's currently playing item.- Returns:
- the user's currently playing item
-
getQueue
Get the list of items that make up the user's queue.- Returns:
- The items that are in the user's queue for the upcoming playback.
-
toString
Description copied from class:AbstractModelObject
Returns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)
- Specified by:
toString
in classAbstractModelObject
-
builder
Description copied from interface:IModelObject
Create a builder for building an instance of a model object.
The type of the builder and its methods depend on its corresponding implementation.- Returns:
- A builder object.
-