getViewConfiguration
If you are using the Paywall Builder, you can use this method to get a configuration object for your paywall.
Should not be called before activate
Parameters
The AdaptyPaywall for which you want to get a configuration.
This parameter is expected to be a language code composed of one or more subtags separated by the "-" character. The first subtag is for the language, the second one is for the region (The support for regions will be added later). Example: "en"
means English, "en-US"
represents US English.
This value limits the timeout for this method. The minimum value is 1000 milliseconds. If a timeout is not required, you can pass Int.MAX_VALUE (or use Integer.MAX_VALUE when calling from Java).
A result containing the AdaptyViewConfiguration object. Use it with AdaptyUI library.