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
Interface for asynchronously locating and interacting with media control endpoints.

Properties

getMediaControlEndpoints

getMediaControlEndpoints: () => Promise<IMediaControlClientAsync[]>
Call to obtain a list of media control clients.

Returns

Promise<IMediaControlClientAsync[]> containing an ordered list of media control endpoints. The returned list is ordered with the first media control having active focus.

addChangeListener

addChangeListener: (listener: IMediaControlEndpointLocatorListener) => Promise<ISubscription>
Subscribes a listener to monitor changes in the list of control endpoints.

Parameters

listener
IMediaControlEndpointLocatorListener

Returns

Promise<ISubscription> A Promise that resolves to an ISubscription object. The resolved ISubscription object provides a method to unsubscribe the listener when it’s no longer need.
Last modified on August 25, 2026