public interface ImagesApi
SpotifyAppRemote.getImagesApi().SpotifyAppRemote| Modifier and Type | Method and Description |
|---|---|
CallResult<android.graphics.Bitmap> |
getImage(ImageUri imageUri)
Fetch an image from the Spotify app.
This method will call getImage(ImageUri, Image.Dimension) with Image.Dimension#LARGE.See Track.imageUriSee Image.DimensionIntroduced in com.spotify.protocol.client.RequiredFeatures#FEATURES_V1 |
CallResult<android.graphics.Bitmap> |
getImage(ImageUri imageUri,
Image.Dimension dimension)
Fetch an image from the Spotify app and specify the preferred size by dimension.
See Track.imageUriSee Image.DimensionIntroduced in com.spotify.protocol.client.RequiredFeatures#FEATURES_V3 |
CallResult<android.graphics.Bitmap> getImage(ImageUri imageUri)
getImage(ImageUri, Image.Dimension) with Image.Dimension#LARGE.Track.imageUriImage.Dimensioncom.spotify.protocol.client.RequiredFeatures#FEATURES_V1imageUri - the id of the image you want to fetchCallResult<android.graphics.Bitmap> getImage(ImageUri imageUri, Image.Dimension dimension)
Track.imageUriImage.Dimensioncom.spotify.protocol.client.RequiredFeatures#FEATURES_V3imageUri - the id of the image you want to fetchdimension - predefined dimension