as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
Represent media control server operations. This interface provides methods for managing media control handlers and updating media session states.

Properties

setHandlerForComponent

setHandlerForComponent: (handler: IMediaControlHandlerAsync, instance: IComponentInstance) => void
Assigns a handler to process requests for media control actions for a given component.

Parameters

handler
IMediaControlHandlerAsync An instance of the IMediaControlHandlerAsync interface that manages media control actions.
instance
IComponentInstance An instance of the IComponentInstance interface representing the component for which the handler is being set.

updateMediaSessionStates

updateMediaSessionStates: (states: MediaSessionState[]) => void
Updates the state of the media sessions.

Parameters

states
MediaSessionState[] Array of MediaSessionStates containing updated session states.
最終更新日 2026年8月25日