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 IAudioSinkTrack

interface struct IAudioSinkTrack
The metadata information of the current playing audio.

Fields

title

string — Required
Retrieves the title of the currently playing audio. This data object member might return an empty string if the title is not present.

artist

string — Required
Retrieves the artist information of the currently playing audio. This data object member might return empty string if the artist information is not present.

album

string — Required
Retrieves the album name of the currently playing audio. This data object member might contain an empty string if the album information is not present.

genre

string — Required
Retrieves the genre of the currently playing audio. This data object member may return empty string if the genre is not present.

trackNumber

i32 — Required
Holds the track number of the currently playing track. If the track number is not available, this field contains -1.

duration

com.amazon.apmf.RealTimeDuration — Required
Holds the playing time attribute of the currently playing audio track. The playing time is denoted by a combination of duration.time.seconds and duration.time.nanoseconds. If the playing time is not available, the duration.time.seconds is -1.
Last modified on October 29, 2026