Class CurrentlyPlaying

java.lang.Object
de.sonallux.spotify.api.models.CurrentlyPlaying

public class CurrentlyPlaying extends Object
CurrentlyPlayingObject
  • Field Details

    • 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, ad or unknown.

    • 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

  • Constructor Details

    • CurrentlyPlaying

      public CurrentlyPlaying()