Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Data object IAlbumArtProperties

interface struct IAlbumArtProperties
This Data Object abstracts and encapsulates the properties of an Album Art.

Fields

format

ImageFormat — Required
Holds the format of the image (e.g. JPEG). If this field is ‘unknown’, the rest of the properties and even the image buffer in the IAlbumArt itself may not be useful. This is because the application would not know how to render the image buffer if the format/encoding is not known.

width

i32 — Required
Holds the width part of the image resolution. This field is valid only if the ‘height’ field in pixels has a non-zero positive value. Applications must validate the width and the height parameters against valid aspect ratio values.

height

i32 — Required
Holds the height part of the image resolution. This field is valid only if the ‘width’ field in pixels has a non-zero positive value. Applications must validate the width and the height parameters against valid aspect ratio values.

size

i32 — Required
Holds the size of the album art image. This may contain zero value as the size of the image in bytes is not always available from the peer.
Last modified on October 29, 2026