Interface ISubscriptionEntitlementsProvider
interface ISubscriptionEntitlementsProvider
Extends com.amazon.apmf.IStandard
Used to provide responses to commands requesting subscription data.
Methods
addSubscriptionEntitlementChunk()
Adds subscription data to the response. Use repeated calls tovoidaddSubscriptionEntitlementChunk(ISubscriptionEntitlementEntry*[]subscriptions)
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.

