preloadFlowsForDefaultAudience

This method enables you to preload multiple flows from the Default Audience into the local cache in a single batch, without having to wait for the Adapty SDK to send all the user information required for segmentation to the server.

Should not be called before activate

Parameters

placementIds

The identifiers of the desired placements. These are the values you specified when you created the placements in the Adapty Dashboard.

callback

A result containing the optional AdaptyError. If some of the placements could not be preloaded, the error is an com.adapty.errors.AdaptyPreloadPlacementsError containing the per-placement errors.