as

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

IPlaybackEventsProvider

Used to provide responses to commands requesting playback event data.

Methods

addPlaybackEventChunk()

addPlaybackEventChunk(playbackEvents): void

Adds playback event data to response. Use repeated calls to addPlaybackEventChunk to paginate data to prevent loading large lists into memory. Must eventually be followed by a call to commit() after all playback events have been sent.

Parameters

playbackEvents

IPlaybackEvent[]

A list of playback events.

Returns

void


commit()

commit(): void

Indicates the end of responses. Must be called after the final call of addPlaybackEventChunk.

Returns

void


Last updated: Oct 02, 2025