|
AdaptySDK 4.1.1
|
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, private set] |
| 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, private set] |
| 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. | |
Private Member Functions | |
| AdaptyFlow () | |
| void | OnDeserialized (StreamingContext context) |
| void | Freeze () |
Private Attributes | |
| readonly List< AdaptyRemoteConfig > | _RemoteConfigs = new List<AdaptyRemoteConfig>() |
| Array of custom JSON formatted data configured in the Adapty Dashboard, one entry per locale. | |
| readonly List< AdaptyFlowPaywall > | _Paywalls |
| Array of paywall variations associated with this flow. | |
| readonly string | _FlowVersionId |
| The renderer-internal version of the flow's view configuration. Opaque to the app: carried only so a flow handed back to the native side keeps it. | |
| readonly JObject | _UiSchema |
| The renderer's custom-layout schema. Opaque to the app: carried only so a flow handed back to the native side keeps it. | |
| readonly long | _ResponseCreatedAt |
| readonly string | _PayloadData |
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
|
private |
|
private |
|
private |
| 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.
|
private |
The renderer-internal version of the flow's view configuration. Opaque to the app: carried only so a flow handed back to the native side keeps it.
|
private |
|
private |
Array of paywall variations associated with this flow.
|
private |
Array of custom JSON formatted data configured in the Adapty Dashboard, one entry per locale.
|
private |
|
private |
The renderer's custom-layout schema. Opaque to the app: carried only so a flow handed back to the native side keeps it.
| readonly string AdaptySDK.AdaptyFlow.InstanceIdentity |
A unique identifier for this flow instance.
| readonly string AdaptySDK.AdaptyFlow.Name |
The flow name configured in the Adapty Dashboard.
| readonly AdaptyPlacement AdaptySDK.AdaptyFlow.Placement |
An AdaptyPlacement object that contains information about the placement of the flow.
| readonly string AdaptySDK.AdaptyFlow.VariationId |
The identifier of the variation, used to attribute purchases to the flow.
|
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.
|
getprivate set |
The paywall variations this flow offers.
|
get |
Array of product identifiers aggregated across all paywall variations of this flow.
|
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.
|
getprivate set |
The remote configs of the flow, one per localization. Empty when none is configured; RemoteConfig is the first of them.
|
get |
Array of vendor product IDs (App Store or Google Play product identifiers) aggregated across all paywall variations of this flow.