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

Interface IAudioSinkTrack2

interface IAudioSinkTrack2
Extends IAudioSinkTrack This extension is to support the Album Art feature.

Methods

getAlbumArtVariants()

IAlbumArt*[] getAlbumArtVariants()
Get all the variants of the album arts associated with this audio track. This method returns all the album art variants associated with the audio track. Applications can look into the properties of each of the album art variant, and can make decisions (based on the properties) on which variant of the album art image needs to be pulled in or not to pull any image at all. This is a blocking call and it may take several seconds to pull the properties of all the available variants of the album art. However, this method will not pull the image(s) during this call. Privilege: com.amazon.bluetooth.privilege.audio_sink

Returns

IAlbumArt*[] Returns an array of pointers to all the variants of album art associated with this audio track.

Throws


Last modified on October 29, 2026