AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyUIFlowView Class Referencesealed

A flow view built by AdaptyUI.CreateFlowView(AdaptySDK.AdaptyFlow, AdaptySDK.AdaptyUICreateFlowViewParameters, System.Action<AdaptySDK.AdaptyUIFlowView, AdaptySDK.AdaptyError>). Single use: once dismissed it is destroyed, and showing the flow again means building another one. 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.
void Present (AdaptyUIIOSPresentationStyle iosPresentationStyle, System.Action< AdaptyError > completionHandler)
 Call this function if you wish to present the view.
void Present (System.Action< AdaptyError > completionHandler)
 Call this function if you wish to present the view.
void Dismiss (System.Action< AdaptyError > completionHandler)
 Call this function if you wish to dismiss the view.

Public Attributes

string Id
 The identifier of this view, which the events carry back.
string PlacementId
 The placement the flow behind this view was fetched for.
string VariationId
 The variation the flow resolved to. Purchases made here are attributed to it.
string Locale
 The localization the view was actually built with.

Private Member Functions

 AdaptyUIFlowView ()

Detailed Description

A flow view built by AdaptyUI.CreateFlowView(AdaptySDK.AdaptyFlow, AdaptySDK.AdaptyUICreateFlowViewParameters, System.Action<AdaptySDK.AdaptyUIFlowView, AdaptySDK.AdaptyError>). Single use: once dismissed it is destroyed, and showing the flow again means building another one.

Constructor & Destructor Documentation

◆ AdaptyUIFlowView()

AdaptySDK.AdaptyUIFlowView.AdaptyUIFlowView ( )
private

Member Function Documentation

◆ Dismiss()

void AdaptySDK.AdaptyUIFlowView.Dismiss ( System.Action< AdaptyError > completionHandler)

Call this function if you wish to dismiss the view.

A dismissed view is released and cannot be presented again. Create a new view via AdaptyUI.CreateFlowView(AdaptyFlow, AdaptyUICreateFlowViewParameters, System.Action<AdaptyUIFlowView, AdaptyError>) if you need to re-present it.

Parameters
completionHandlerThe action that will be called with the result.

◆ Present() [1/2]

void AdaptySDK.AdaptyUIFlowView.Present ( AdaptyUIIOSPresentationStyle iosPresentationStyle,
System.Action< AdaptyError > completionHandler )

Call this function if you wish to present the view.

Parameters
iosPresentationStyleAn AdaptyUIIOSPresentationStyle object representing the iOS presentation style (iOS only).
completionHandlerThe action that will be called with the result.

◆ Present() [2/2]

void AdaptySDK.AdaptyUIFlowView.Present ( System.Action< AdaptyError > completionHandler)

Call this function if you wish to present the view.

Parameters
completionHandlerThe action that will be called with the result.

◆ ToString()

override string AdaptySDK.AdaptyUIFlowView.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

◆ Id

string AdaptySDK.AdaptyUIFlowView.Id

The identifier of this view, which the events carry back.

◆ Locale

string AdaptySDK.AdaptyUIFlowView.Locale

The localization the view was actually built with.

May differ from the localization requested through AdaptyUICreateFlowViewParameters.SetLocale(string) when that one does not exist in the flow, and may be null when the native side reports none.

◆ PlacementId

string AdaptySDK.AdaptyUIFlowView.PlacementId

The placement the flow behind this view was fetched for.

◆ VariationId

string AdaptySDK.AdaptyUIFlowView.VariationId

The variation the flow resolved to. Purchases made here are attributed to it.


The documentation for this class was generated from the following file: