The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Net::Async::Spotify::Object::Generated::CurrentlyPlayingContext at lib/Net/Async/Spotify/Object/Generated/CurrentlyPlayingContext.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::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, fields, generate, to_hash, to_human, to_json