preload Plan
fun preloadPlan(planLink: ExpoFpLinkType, additionalParams: List<ExpoFpPlanParameter> = emptyList(), locationProvider: IExpoFpLocationProvider? = ExpoFpPlan.globalLocationProvider, messageListener: IExpoFpPlanMessageListener? = null, isDebugModeEnabled: Boolean = false): 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.