getFlowConfiguration
fun getFlowConfiguration(flow: AdaptyFlow, locale: String? = null, loadTimeout: TimeInterval = DEFAULT_PLACEMENT_TIMEOUT, callback: ResultCallback<AdaptyUI.FlowConfiguration>)
If you are using the Flow Builder, you can use this method to get a configuration object for your flow.
Should not be called before Adapty.activate
Parameters
flow
The AdaptyFlow for which you want to get a configuration.
locale
The locale whose localization will be used for rendering. If null, the default localization of the view configuration is used.
loadTimeout
This value limits the timeout for this method. The minimum value is 1 second. If a timeout is not required, you can pass TimeInterval.INFINITE.
callback
A result containing the FlowConfiguration object.