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()
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.voidgetMediaControlEndpoints(IGetMediaControlEndpointsResponseListener*listener)
Parameters
listener
IGetMediaControlEndpointsResponseListener* — Required
is invoked once the list is retrieved or when an error occurs handling the request.
addChangeListener()
Requests to register a listener that gets notified when media control endpoints are added or removed.voidaddChangeListener(IMediaControlEndpointLocatorListener*listener)
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.

