setStep

fun setStep(step: Int, callback: (MPIError?) -> Unit? = null)

Set the current step of a multi-part journey

Return

Unit

Parameters

step

The zero-indexed step of the journey to set as the current

callback

Callback for when the step has been set, contains a MPIError as the first parameter


suspend fun setStep(step: Int)

Set the current step of a multi-part journey

Return

Unit

Parameters

step

The zero-indexed step of the journey to set as the current