NAME

Net::Async::Spotify::Object::Generated::CurrentlyPlayingContext - Package representing Spotify CurrentlyPlayingContext Object

DESCRIPTION

Autogenerated module. Based on https://developer.spotify.com/documentation/web-api/reference/#objects-index Check crawl-api-doc.pl for more information.

PARAMETERS

Those are Spotify CurrentlyPlayingContext Object attributes:

actions

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

context

Type:ContextObject Description:A Context Object. Can be null.

currently_playing_type

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

device

Type:DeviceObject Description:The device that is currently active.

is_playing

Type:Boolean Description:If something is currently playing, return true.

item

Type:TrackObject | EpisodeObject Description:The currently playing track or episode. Can be null.

progress_ms

Type:Integer Description:Progress into the currently playing track or episode. Can be null.

repeat_state

Type:String Description:off, track, context

shuffle_state

Type:String Description:If shuffle is on or off.

timestamp

Type:Integer Description:Unix Millisecond Timestamp when data was fetched.

INHERITED METHODS

Net::Async::Spotify::Object::Base

apply_type, extra_fields, generate