The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Net::Async::Spotify::Object::Generated::CurrentlyPlaying at lib/Net/Async/Spotify/Object/Generated/CurrentlyPlaying.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.

NAME

Net::Async::Spotify::Object::Generated::CurrentlyPlaying - Package representing Spotify CurrentlyPlaying 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 CurrentlyPlaying Object attributes:

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.

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.

timestamp

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

INHERITED METHODS

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

apply_type, extra_fields, fields, generate, to_hash, to_human, to_json