Class CodeScannedStatisticsSubscription

java.lang.Object
com.persequor.saga.modules.dpp.defaultExt.CodeScannedStatisticsSubscription
All Implemented Interfaces:
ICodeScannedSubscription

public class CodeScannedStatisticsSubscription extends Object implements ICodeScannedSubscription
  • Constructor Details

    • CodeScannedStatisticsSubscription

      @Inject public CodeScannedStatisticsSubscription(CodeScanStatisticsService codeScanStatisticsService)
  • Method Details

    • onCodeScanned

      public void onCodeScanned(ICodeScannedSubscription.CodeScannedEvent event)
      Description copied from interface: ICodeScannedSubscription
      Implement to receive the scanned code.

      Codes scanned are not guaranteed to be actual codes, this is merely the requested code.

      The method should not throw exceptions. If any exceptions are thrown, they will be logged and ignored.

      Specified by:
      onCodeScanned in interface ICodeScannedSubscription
      Parameters:
      event - The event containing the scanned code