createPlanPresenter

fun createPlanPresenter(planLink: ExpoFpLinkType, additionalParams: List<URLQueryItem> = emptyList(), locationProvider: IExpoFpLocationProvider? = globalLocationProvider, messageListener: IExpoFpPlanMessageListener? = null): IExpoFpPlanPresenter

Create a plan presenter.

Return

IExpoFpPlanPresenter to manage the plan.

Parameters

planLink

type of the link to load a plan.

additionalParams

parameters to configure the plan before presenting.

locationProvider

location provider to be used (defaults to globalLocationProvider).

messageListener

listener for messages from the plan. Note: the SDK does not retain it.

Throws

if initialize was not called before.