Step

data class Step(val id: Int, val type: InteractiveStepType, val name: String?, val description: String?, val isCompleted: Boolean, val isCurrent: Boolean, val attemptCount: Int, val isSecondOfSameKind: Boolean, val interactiveIndex: Int?)

Describes a single interactive workflow step.

Constructors

Link copied to clipboard
constructor(id: Int, type: InteractiveStepType, name: String?, description: String?, isCompleted: Boolean, isCurrent: Boolean, attemptCount: Int, isSecondOfSameKind: Boolean, interactiveIndex: Int?)

Properties

Link copied to clipboard

Which attempt the current step is on, from 1; 0 for every other step.

Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard

Its place in WorkflowProgress.steps, from 1; null when the snapshot doesn't list the step.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True when an earlier step in the flow is of the same kind. InteractiveStepType.DocumentScan and InteractiveStepType.VerifyDocument count as one kind: both scan a document with the same scanner screen.

Link copied to clipboard
val name: String?
Link copied to clipboard