Package de.sonallux.spotify.api.models
Class CurrentlyPlaying
java.lang.Object
de.sonallux.spotify.api.models.CurrentlyPlaying
CurrentlyPlayingObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionA Context Object.The object type of the currently playing item.booleanIf something is currently playing, returntrue.The currently playing track or episode.intProgress into the currently playing track or episode.intUnix Millisecond Timestamp when data was fetched -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
context
A Context Object. Can be
null. -
currentlyPlayingType
The object type of the currently playing item. Can be one of
track,episode,adorunknown. -
isPlaying
public boolean isPlayingIf something is currently playing, return
true. -
item
The currently playing track or episode. Can be
null. -
progressMs
public int progressMsProgress into the currently playing track or episode. Can be
null. -
timestamp
public int timestampUnix Millisecond Timestamp when data was fetched
-
-
Constructor Details
-
CurrentlyPlaying
public CurrentlyPlaying()
-