Inherits from NSObject
Declared in SPTImage.h

Overview

This class represents an image from the Spotify service. It could be an album’s cover art or a user image, for example.

API Model: https://developer.spotify.com/web-api/object-model/#image-object

Tasks

Properties

Properties

imageURL

The HTTP URL to the image.

@property (nonatomic, readonly, copy) NSURL *imageURL

Declared In

SPTImage.h

size

The image’s size as reported from the backed.

@property (nonatomic, readonly) CGSize size

Discussion

Warning: This property may be CGSizeZero if the size of the image is unknown by the backend. This is particularly the case with images not owned by Spotify, for example if a user’s image is taken from their Facebook account.

Declared In

SPTImage.h