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
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class for buildingPlaybackQueueinstances.static final classJsonUtil class for buildingPlaybackQueueinstances.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:AbstractModelObjectReturns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)- Specified by:
toStringin classAbstractModelObject
-
builder
Description copied from interface:IModelObjectCreate 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.
-