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 IMediaControlEndpointLocatorAsync

interface IMediaControlEndpointLocatorAsync
Extends com.amazon.apmf.IStandard Provides methods for locating media control endpoints and receiving notifications when media control endpoints are added or removed.

Methods

getMediaControlEndpoints()

void getMediaControlEndpoints(IGetMediaControlEndpointsResponseListener* listener)
Requests to retrieve the current list media control endpoints. The provided list is ranked, where the first index (0) is considered the most active and the last entry the least active. The list can be empty if no media control endpoints exist.

Parameters

listener
IGetMediaControlEndpointsResponseListener* — Required is invoked once the list is retrieved or when an error occurs handling the request.

addChangeListener()

void addChangeListener(IMediaControlEndpointLocatorListener* listener)
Requests to register a listener that gets notified when media control endpoints are added or removed.

Parameters

listener
IMediaControlEndpointLocatorListener* — Required is invoked when the subscription request succeeds or fails. Once a subscription request succeeds, the listener will be invoked when media control endpoints are added or removed.
Last modified on October 29, 2026