as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Used to provide responses to commands requesting customer managed list data.

Methods

addCustomerListChunk()

addCustomerListChunk(listType: CustomerListType, entries: ICustomerListEntry[]): void
Adds customer managed list data to response. Use repeated calls to addCustomerListChunk to paginate data to prevent loading large lists into memory. Must eventually be followed by a call to commit() after all customer managed list entries have been sent.

Parameters

listType
CustomerListType The type of customer managed list being sent(ie. watchlist)
entries
ICustomerListEntry[] A list of entries for the customer managed list.

commit()

commit(): void
Indicates the end of responses. Must be called after the final call of addCustomerListChunk.
最后修改于 2026年8月25日