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
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.

Parameters

handler
IMediaControlHandlerAsync An instance of the IMediaControlHandlerAsync interface that manages media control actions.
instance
IComponentInstance An instance of the IComponentInstance interface representing the component for which the handler is being set.

updateMediaSessionStates

updateMediaSessionStates: (states: MediaSessionState[]) => void
Updates the state of the media sessions.

Parameters

states
MediaSessionState[] Array of MediaSessionStates containing updated session states.
Last modified on August 25, 2026