preload Plan
fun preloadPlan(planLink: ExpoFpLinkType, additionalParams: List<URLQueryItem> = emptyList(), locationProvider: IExpoFpLocationProvider? = ExpoFpPlan.globalLocationProvider, messageListener: IExpoFpPlanMessageListener? = null): ExpoFpPreloadedPlanInfo
Preload a plan and store it for later use.
Note: IExpoFpPlanMessageListener is not retained by the SDK.
Return
ExpoFpPreloadedPlanInfo describing the preloaded plan.
Parameters
plan Link
Type of the link to load a plan.
additional Params
Parameters to set up a plan before presenting.
location Provider
Location provider that will be used. If null, ExpoFpPlan.globalLocationProvider may be used by default.
message Listener
Listener for receiving messages from the plan.
message Handlers
Optional map of message handlers.