as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

MediaControlEndpointLocatorAsync

MediaControlEndpointLocatorAsync class used to locate media control endpoints

Implements

Constructors

new MediaControlEndpointLocatorAsync()

new MediaControlEndpointLocatorAsync(): MediaControlEndpointLocatorAsync

Returns

MediaControlEndpointLocatorAsync

Methods

addChangeListener()

addChangeListener(listener): Promise<ISubscription>

Subscribes a listener to monitor changes in the list of control endpoints.

Parameters

listener

IMediaControlEndpointLocatorListener

Returns

Promise<ISubscription>

Implementation of

IMediaControlEndpointLocatorAsync.addChangeListener


getMediaControlEndpoints()

getMediaControlEndpoints(): Promise<IMediaControlClientAsync[]>

Call to obtain a list of media control clients.

Returns

Promise<IMediaControlClientAsync[]>

Implementation of

IMediaControlEndpointLocatorAsync.getMediaControlEndpoints


Last updated: Sep 30, 2025