Package-level declarations
Types
Parameters for updating an active Android subscription.
Defines the proration mode to use when updating an active Android subscription.
The main configuration object used to initialize the Adapty SDK.
Represents a customizable media or color asset used within Adapty Paywalls and Onboardings.
Represents a customer's identity used to associate in-app purchases with their corresponding transactions on both iOS and Android platforms.
Represents an error returned by the Adapty SDK.
Enumerates all possible error codes returned by the Adapty SDK.
Contains detailed information about the current app installation.
Represents the status of Adapty installation tracking.
The installation status has been successfully determined.
Installation details are not available for this device or configuration.
The installation status has not yet been determined.
Represents the developer’s preference for how refund requests should be handled on iOS.
Defines the verbosity level for Adapty SDK logging output.
Represents an onboarding experience configured in the Adapty Dashboard.
Represents analytics events occurring during an onboarding flow.
Triggered when the onboarding flow is completed.
Triggered when the onboarding flow is first loaded.
Triggered when the products screen is presented.
Triggered when the registration screen is presented.
Triggered when a screen is completed.
Triggered when any onboarding screen is presented.
Triggered when the second screen of an onboarding flow is presented.
Represents an unrecognized or unknown analytics event.
Triggered when the user's email is collected during onboarding.
Represents a date picker input update.
Represents an email input in an onboarding form.
Represents an input value in an Adapty onboarding flow.
Represents a text, email, or numeric input update.
Represents a multi-select input update.
Represents a numeric input in an onboarding form.
Represents a single-select input update.
Represents updated state parameters in an Adapty onboarding flow.
Represents a text input in an onboarding form.
Represents a paywall retrieved from Adapty.
Defines policies for fetching paywalls from the Adapty backend.
Represents a product displayed on a paywall.
Represents a reference to a product associated with a paywall.
Represents detailed subscription information for a paywall product.
Configuration details for a paywall created using the Adapty Paywall Builder.
Units of time used for subscription periods.
Represents a paywall or onboarding placement in the Adapty system.
Represents a product price in the store, including optional localized formatting.
Represents a unique identifier for a product across platforms.
Represents a user profile in Adapty.
Represents parameters for updating or creating an Adapty profile.
Parameters used when making a purchase or updating a subscription in Adapty.
Represents the result of a purchase operation in Adapty.
Represents the type of subscription renewal.
A wrapper class representing the result of an operation.
Represents an offer for a subscription product.
Represents the unique identifier and type of a subscription offer.
The payment mode of a subscription offer.
Represents a single phase of a subscription offer, such as an introductory or promotional phase.
The type of a subscription offer.
Represents the duration of a subscription period.
Represents a UI action performed by the user on Adapty paywalls or onboarding screens.
Represents a dialog that can be shown in the UI, typically for alerts, confirmations, or information.
Represents the type of action taken by the user on an AdaptyUIDialog.
Defines the presentation styles available for displaying Adapty UI screens on iOS.
Contains metadata about the current onboarding flow and screen.
Represents an onboarding view in the Adapty UI.
Represents a paywall view in the Adapty UI.
Defines how a web-based Adapty paywall should be presented to the user.
Properties
Returns true if this is an AdaptyResult.Error result.
Returns true if this is a AdaptyResult.Success result.
Functions
Returns the AdaptyError if this is AdaptyResult.Error, or null if it is AdaptyResult.Success.
Transforms the AdaptyResult into a value of type R using onSuccess if successful or onError if it is an error.
Returns the value if this is AdaptyResult.Success, or null if it is AdaptyResult.Error.
Executes action if this is an AdaptyResult.Error result, then returns the receiver.
Executes action if this is a AdaptyResult.Success result, then returns the receiver.