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

IMediaControlServerAsync

Represent media control server operations. This interface provides methods for managing media control handlers and updating media session states.

Properties

setHandlerForComponent

setHandlerForComponent: (handler: IMediaControlHandlerAsync, instance: IComponentInstance) => void

Assigns a handler to process requests for media control actions for a given component.


updateMediaSessionStates

updateMediaSessionStates: (states: MediaSessionState[]) => void

Updates the state of the media sessions.


Last updated: Jul 22, 2026