SPTAppRemoteImageAPI Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SPTAppRemoteImageAPI.h |
– fetchImageForItem:withSize:callback:
required method
Fetch an image with the given ID from the Spotify app.
- (void)fetchImageForItem:(id<SPTAppRemoteImageRepresentable>)imageRepresentable withSize:(CGSize)imageSize callback:(nullable SPTAppRemoteCallback)callback
Parameters
imageRepresentable |
The item containing the ID of the image to fetch. |
---|---|
imageSize |
The size of the image to fetch. |
callback |
On success |
Declared In
SPTAppRemoteImageAPI.h