Skip to content
GBG Documents & Biometrics Documentation

IJourneyState

The current state of the journey.

Signature:

export interface IJourneyState
Property Type Description
action FlowState The current capture state of the journey. The value of this is dictated by the server.
actionAttempt number The number of times the request has been attempted
inputProvider InputProvider The current input provider in use
journey IIdScanData The current state of the DataStore for this journey
page Templates The current page/step of the journey being shown to the user

The current capture state of the journey. The value of this is dictated by the server.

Signature:

readonly action: FlowState;

The number of times the request has been attempted

Signature:

readonly actionAttempt: number;

The current input provider in use

Signature:

readonly inputProvider: InputProvider;

The current state of the DataStore for this journey

Signature:

readonly journey: IIdScanData;

The current page/step of the journey being shown to the user

Signature:

readonly page: Templates;