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
Skip to main content
interface for media control clients

Properties

addListener()

addListener: (listener) => Promise<ISubscription> Subscribes a listener to monitor changes in the media session state.

Parameters

listener
IMediaControlListener

Returns

Promise<ISubscription>

destroy()

destroy: () => void Destroys the media control client asynchronously.

Returns

void
Last modified on September 30, 2025