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

IMediaControlListener

When implemented, handles media control state changes.

Properties

onStateChanged

onStateChanged: (updatedStates: MediaSessionState[]) => void

Invoked when a media control endpoint session changes state.


Last updated: Jul 22, 2026