class CustomerInfo
A container for the most recent customer info returned from
Purchases
. These objects are non-mutable and do not update automatically.class EntitlementInfo
The EntitlementInfo object gives you access to all of the information about the status of a user entitlement.
class EntitlementInfos
This class contains all the entitlements associated to the user.
protocol PurchasesDelegate
Delegate for
Purchases
responsible for handling updating your app’s state in response to updated customer info or promotional product purchases.func customerInfo () async throws -> CustomerInfo
Get latest available customer info. Returns a value immediately if
CustomerInfo
is cached.var customerInfoStream : AsyncStream <CustomerInfo >
Returns an
AsyncStream
of CustomerInfo
changes, starting from the last known value.