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

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

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

import lombok.*;

/**
 * CurrentlyPlayingContextObject
 */
@Getter
@Setter
@NoArgsConstructor
public class CurrentlyPlayingContext {
    /**
     * 

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; /** *

The device that is currently active.

*/ public Device device; /** *

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; /** *

off, track, context

*/ public String repeatState; /** *

If shuffle is on or off.

*/ public boolean shuffleState; /** *

Unix Millisecond Timestamp when playback state was last changed (play, pause, skip, scrub, new song, etc.).

*/ public long timestamp; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy