SDKReaderConfiguratorState

Represeantation of a single SDKReaderConfiguratorState Methods in states can only be called ONCE. Calling a method more than once will result in an SDKFunctionWasConsumedException

Inheritors

Types

Link copied to clipboard

This state indicates a successful configuration

Link copied to clipboard
class ConfigurationRequired(isAborted: () -> Boolean, provideConfigurationFn: (SDKConfigurationFiles) -> Unit) : SDKReaderConfiguratorState

In this state, a SDKEmvConfigurationFiles must be provided This state is abortable

Link copied to clipboard
class DeviceRequired(isAborted: () -> Boolean, provideDeviceFn: (SDKDevice) -> Unit) : SDKReaderConfiguratorState

In this state, a SDKDevice (previously got from the SDKDeviceScanService) must be provided This will be the first state to be called after creation This state is abortable

Link copied to clipboard

This state indicates that an error described by SDKReaderConfiguratorError and a exception has occurred and its NotRecoverable Nothing can be done after the SDKReaderConfigurator is in this state

Link copied to clipboard
class RecoverableError(isAborted: () -> Boolean, val error: SDKReaderConfiguratorError, recoverFn: () -> Unit) : SDKReaderConfiguratorState

This state indicates that an error described by SDKReaderConfiguratorError has occurred and its recoverable