AdaptySDK 4.1.2
Loading...
Searching...
No Matches
AdaptySDK.AdaptyFlow Class Referencesealed

Represents a flow configuration in Adapty. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly AdaptyPlacement Placement
 An AdaptyPlacement object that contains information about the placement of the flow.
readonly string InstanceIdentity
 A unique identifier for this flow instance.
readonly string Name
 The flow name configured in the Adapty Dashboard.
readonly string VariationId
 The identifier of the variation, used to attribute purchases to the flow.

Properties

IReadOnlyList< AdaptyRemoteConfig > RemoteConfigs [get]
 The remote configs of the flow, one per localization. Empty when none is configured; RemoteConfig is the first of them.
AdaptyRemoteConfig RemoteConfig [get]
 The first custom JSON formatted data configured in the Adapty Dashboard.
IReadOnlyList< AdaptyFlowPaywall > Paywalls [get]
 The paywall variations this flow offers.
bool HasViewConfiguration [get]
 Whether this flow carries a view configuration and can be rendered with AdaptyUI.CreateFlowView(AdaptyFlow, AdaptyUICreateFlowViewParameters, System.Action<AdaptyUIFlowView, AdaptyError>).
IReadOnlyList< string > VendorProductIds [get]
 Array of vendor product IDs (App Store or Google Play product identifiers) aggregated across all paywall variations of this flow.
IReadOnlyList< AdaptyProductIdentifier > ProductIdentifiers [get]
 Array of product identifiers aggregated across all paywall variations of this flow.

Detailed Description

Represents a flow configuration in Adapty.

A flow is a set of paywall variations that can be displayed to users. It contains information about the placement, paywalls, and remote configs. Read more at Adapty Documentation

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyFlow.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ InstanceIdentity

readonly string AdaptySDK.AdaptyFlow.InstanceIdentity

A unique identifier for this flow instance.

◆ Name

readonly string AdaptySDK.AdaptyFlow.Name

The flow name configured in the Adapty Dashboard.

◆ Placement

readonly AdaptyPlacement AdaptySDK.AdaptyFlow.Placement

An AdaptyPlacement object that contains information about the placement of the flow.

◆ VariationId

readonly string AdaptySDK.AdaptyFlow.VariationId

The identifier of the variation, used to attribute purchases to the flow.

Property Documentation

◆ HasViewConfiguration

bool AdaptySDK.AdaptyFlow.HasViewConfiguration
get

Whether this flow carries a view configuration and can be rendered with AdaptyUI.CreateFlowView(AdaptyFlow, AdaptyUICreateFlowViewParameters, System.Action<AdaptyUIFlowView, AdaptyError>).

Both natives treat the configuration as present only when the version identifier and the schema arrive together, and send them that way or not at all.

◆ Paywalls

IReadOnlyList<AdaptyFlowPaywall> AdaptySDK.AdaptyFlow.Paywalls
get

The paywall variations this flow offers.

◆ ProductIdentifiers

IReadOnlyList<AdaptyProductIdentifier> AdaptySDK.AdaptyFlow.ProductIdentifiers
get

Array of product identifiers aggregated across all paywall variations of this flow.

◆ RemoteConfig

AdaptyRemoteConfig AdaptySDK.AdaptyFlow.RemoteConfig
get

The first custom JSON formatted data configured in the Adapty Dashboard.

This can be null if no remote config is configured for the flow. Use RemoteConfigs to access configs for a specific locale.

◆ RemoteConfigs

IReadOnlyList<AdaptyRemoteConfig> AdaptySDK.AdaptyFlow.RemoteConfigs
get

The remote configs of the flow, one per localization. Empty when none is configured; RemoteConfig is the first of them.

◆ VendorProductIds

IReadOnlyList<string> AdaptySDK.AdaptyFlow.VendorProductIds
get

Array of vendor product IDs (App Store or Google Play product identifiers) aggregated across all paywall variations of this flow.


The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyFlow.cs