All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sonallux.spotify.api.models.CurrentlyPlaying Maven / Gradle / Ivy

The newest version!
package de.sonallux.spotify.api.models;

import lombok.*;

/**
 * CurrentlyPlayingObject
 */
@Getter
@Setter
@NoArgsConstructor
public class CurrentlyPlaying {
    /**
     * 

Allows to update the user interface based on which playback actions are available within the current context.

*/ public Disallows actions; /** *

A Context Object. Can be null.

*/ public Context context; /** *

The object type of the currently playing item. Can be one of track, episode, ad or unknown.

*/ public String currentlyPlayingType; /** *

If something is currently playing, return true.

*/ public boolean isPlaying; /** *

The currently playing track or episode. Can be null.

*/ public BaseObject item; /** *

Progress into the currently playing track or episode. Can be null.

*/ public int progressMs; /** *

Unix Millisecond Timestamp when data was fetched

*/ public long timestamp; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy