Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ISubscriptionEntitlementsProvider

interface ISubscriptionEntitlementsProvider
Extends com.amazon.apmf.IStandard Used to provide responses to commands requesting subscription data.

Methods

addSubscriptionEntitlementChunk()

void addSubscriptionEntitlementChunk(ISubscriptionEntitlementEntry*[] subscriptions)
Adds subscription data to the response. Use repeated calls to addSubscriptionEntitlementChunk to paginate data to to prevent loading large lists into memory. Must eventually be followed by a call to commit() after all entitlements have been sent.

Parameters

subscriptions
ISubscriptionEntitlementEntry*[] — Required A list of subscriptions.

commit()

void commit()
Indicates the end of responses. Must be called after the final call of addSubscriptionEntitlementChunk.
Last modified on October 29, 2026