Package de.sonallux.spotify.api.models
Class CurrentlyPlaying
- java.lang.Object
-
- de.sonallux.spotify.api.models.CurrentlyPlaying
-
public class CurrentlyPlaying extends Object
-
-
Field Summary
Fields Modifier and Type Field Description ContextcontextA Context Object.StringcurrentlyPlayingTypeThe object type of the currently playing item.booleanisPlayingIf something is currently playing, returntrue.BaseObjectitemThe currently playing track or episode.intprogressMsProgress into the currently playing track or episode.inttimestampUnix Millisecond Timestamp when data was fetched
-
Constructor Summary
Constructors Constructor Description CurrentlyPlaying()
-
-
-
Field Detail
-
context
public Context context
A Context Object. Can be
null.
-
currentlyPlayingType
public String currentlyPlayingType
The object type of the currently playing item. Can be one of
track,episode,adorunknown.
-
isPlaying
public boolean isPlaying
If something is currently playing, return
true.
-
item
public BaseObject item
The currently playing track or episode. Can be
null.
-
progressMs
public int progressMs
Progress into the currently playing track or episode. Can be
null.
-
timestamp
public int timestamp
Unix Millisecond Timestamp when data was fetched
-
-