Package-level declarations
Types
Link copied to clipboard
The PurchaseController used when the app doesn't provide one.
Link copied to clipboard
class Entitlements(val storage: Storage, actorScope: CoroutineScope = CoroutineScope(Dispatchers.Default), val actor: StateActor<EntitlementsContext, EntitlementsState> = StateActor(createInitialEntitlementsState(storage), actorScope), val tracker: suspend (TrackableSuperwallEvent) -> Unit = {}) : EntitlementsContext
Facade over the entitlements state held in a StateActor.
Link copied to clipboard
All dependencies available to entitlements EntitlementsState.Actions.
Link copied to clipboard
data class EntitlementsState(val status: SubscriptionStatus = SubscriptionStatus.Unknown, val entitlementsByProduct: Map<String, Set<Entitlement>> = emptyMap(), val activeDeviceEntitlements: Set<Entitlement> = emptySet(), val backingActive: Set<Entitlement> = emptySet(), val webEntitlements: Set<Entitlement> = emptySet(), val allTracked: Set<Entitlement> = emptySet())
Link copied to clipboard
data class GetProductsResponse(val productsByFullId: Map<String, StoreProduct>, val productItems: List<ProductItem>, val paywall: Paywall? = null)
Link copied to clipboard
class InternalPurchaseController(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, val context: Context) : PurchaseController
Link copied to clipboard
data class ProductReplacement(val mode: ProductReplacement.Mode, val oldProductId: String?, val oldPurchaseToken: String?)
Describes an existing subscription that a purchase replaces, instead of the purchase being bought alongside it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface StoreKitManagerInterface
Link copied to clipboard