NAME

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

id

Type:String Description:The device ID. This may be null.

is_active

Type:Boolean Description:If this device is the currently active device.

is_private_session

Type:Boolean Description:If this device is currently in a private session.

is_restricted

Type:Boolean Description:Whether controlling this device is restricted. At present if this is “true” then no Web API commands will be accepted by this device.

name

Type:String Description:The name of the device.

type

Type:String Description:Device type, such as “computer”, “smartphone” or “speaker”.

volume_percent

Type:Integer Description:The current volume in percent. This may be null.

INHERITED METHODS

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

apply_type, extra_fields, generate