Class CurrentlyPlaying.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.miscellaneous.CurrentlyPlaying.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
CurrentlyPlaying
Builder class for building
CurrentlyPlaying instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setActions(Actions actions) setContext(Context context) setCurrentlyPlayingType(CurrentlyPlayingType currentlyPlayingType) setIs_playing(Boolean is_playing) setItem(IPlaylistItem item) setProgress_ms(Integer progress_ms) setTimestamp(Long timestamp)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setContext
-
setTimestamp
-
setProgress_ms
-
setIs_playing
-
setItem
-
setCurrentlyPlayingType
-
setActions
-
build
Description copied from interface:IModelObject.BuilderBuild a model object with the information set in the builder object.
The type of the model object and its methods depend on its corresponding implementation.- Returns:
- A model object.
-