Class PlaybackQueue
- java.lang.Object
-
- se.michaelthelin.spotify.model_objects.AbstractModelObject
-
- se.michaelthelin.spotify.model_objects.special.PlaybackQueue
-
- All Implemented Interfaces:
Serializable,IModelObject
public class PlaybackQueue extends AbstractModelObject
Get the list of objects that make up the user's queue.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlaybackQueue.BuilderBuilder class for buildingPlaybackQueueinstances.static classPlaybackQueue.JsonUtilJsonUtil class for buildingPlaybackQueueinstances.-
Nested classes/interfaces inherited from interface se.michaelthelin.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModelObject.Builderbuilder()Create a builder for building an instance of a model object.List<Track>getQueue()Get the list of objects that make up the user's queue.StringtoString()Returns a String representation of this model object in the style:
-
-
-
Method Detail
-
getQueue
public List<Track> getQueue()
Get the list of objects that make up the user's queue.- Returns:
- The tracks that are in the user's queue for the upcoming playback.
-
toString
public String 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
public IModelObject.Builder 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.
-
-