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 MediaSessionId2

interface struct MediaSessionId2
Extends MediaSessionId Extends [MediaSessionId] with an opaque string token used for cross-system session correlation. The numeric id (inherited) remains the primary identifier within the media control server. The optional token is provided for clients that need to correlate a media session with launch intents, backend API requests, or multi-room handoff where the cloud and consumer apps use string-based UUIDs.

Fields

token

string? — Optional
An opaque string identifier for cross-system session correlation.
  • Used by clients (e.g. a Now Playing UI) to match this media session against launch intents, backend API session IDs, or cast/multi-room handoff payloads.
  • Bounded to a maximum of 256 printable-ASCII characters.
  • May be null when the provider does not source a session from an external system.
Last modified on October 29, 2026