reloadPlan

abstract fun reloadPlan(planLink: ExpoFpLinkType? = null, additionalParams: List<ExpoFpPlanParameter>? = null, locationProvider: IExpoFpLocationProvider? = null, messageListener: IExpoFpPlanMessageListener? = null, isDebugModeEnabled: Boolean? = null)

Clear cache and reload the plan.

Parameters

planLink

Type of the link to load a plan. If null, previous planLink will be applied.

additionalParams

Parameters to setup a plan before presenting. If null, previous parameters will be applied.

locationProvider

Location provider that will be used. If null, previous location provider will be applied.

messageListener

Listener for receiving messages from the plan. If null, previous listener will be applied.

isDebugModeEnabled

Enables sending DEBUG messages via IExpoFpPlanMessageListener for this presenter. If null, the previous debug mode value will be applied. Debug mode can be changed only on load/reload.

Important: If you need to remove any parameters or settings, you must use special methods for it.