scanBarCodeCallbackFunctionType type

Function callback type used when calling scanBarCode.

type scanBarCodeCallbackFunctionType = (
  error: SdkError,
  decodedText: string
) => void