onError

abstract fun onError(type: SDKScannerResultListener.ErrorType, message: String? = null)

Called with an error has occurred

Parameters

type

indicates the error

message

a message describing the error