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 ISubscriptionEntitlementServerComponent2

interface ISubscriptionEntitlementServerComponent2
Extends com.amazon.apmf.IStandard Updated component that provides subscription entitlement server v2 instance and data builders.

Methods

getOrMakeServer2()

ISubscriptionEntitlementServer2* getOrMakeServer2()
Get or Make ISubscriptionEntitlementServer2 singleton.

Returns

ISubscriptionEntitlementServer2* A ISubscriptionEntitlementServer2 object.

Throws

  • InternalError — if any error occurs during subscription entitlement setup e.g. IPC connection, etc.
Example usage:

makeSubscriptionEntitlementEntryBuilder()

ISubscriptionEntitlementEntryBuilder* makeSubscriptionEntitlementEntryBuilder()
Factory function to create a new instance of SubscriptionEntitlementEntryBuilder

Returns

ISubscriptionEntitlementEntryBuilder* a pointer to the ISubscriptionEntitlementEntryBuilder object created.
Last modified on October 29, 2026