purchases / com.revenuecat.purchases.interfaces / ReceiveEntitlementsListener

ReceiveEntitlementsListener

interface ReceiveEntitlementsListener

Interface to be implemented when making calls to fetch [Entitlement]

Functions

onError

abstract fun onError(error: PurchasesError): Unit

Will be called after an error fetching entitlements

onReceived

abstract fun onReceived(entitlementMap: MutableMap<String, Entitlement>): Unit

Will be called after a successful fetch of entitlements