ApphudListener class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apphudDidChangeUserID(
String userId) → Future< void> - Called when user identifier was changed
-
apphudDidFecthProducts(
List< ApphudProductComposite> products) → Future<void> - Returns array of products after they are fetched from Google Billing or StoreKit. Note that you have to add all product identifiers in Apphud.
-
apphudDidReceivePurchase(
AndroidPurchaseWrapper purchase) → Future< void> - Android only. Called when Apphud receives purchase from Google.
-
apphudNonRenewingPurchasesUpdated(
List< ApphudNonRenewingPurchase> purchases) → Future<void> - Called when any of non renewing purchases changes. Called when purchase is made or has been refunded.
-
apphudSubscriptionsUpdated(
List< ApphudSubscriptionWrapper> subscriptions) → Future<void> - Returns array of subscriptions that user ever purchased. Empty array means user never purchased a subscription.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paywallsDidFullyLoad(
ApphudPaywalls paywalls) → Future< void> - Called when paywalls are fully loaded with their SkuDetails or SkProducts
-
placementsDidFullyLoad(
List< ApphudPlacement> placements) → Future<void> - Called when placements are fully loaded with their ApphudPaywalls and inner ProductDetails.
-
toString(
) → String -
A string representation of this object.
inherited
-
userDidLoad(
ApphudUser user) → Future< void> - This method is invoked when a user is registered in Apphud or retrieved from the cache. It is called once per app lifecycle.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited