Class CodeScannedStatisticsSubscription
java.lang.Object
com.persequor.saga.modules.dpp.defaultExt.CodeScannedStatisticsSubscription
- All Implemented Interfaces:
ICodeScannedSubscription
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.persequor.saga.modules.dpp.sdk.ICodeScannedSubscription
ICodeScannedSubscription.CodeScannedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionCodeScannedStatisticsSubscription
(CodeScanStatisticsService codeScanStatisticsService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Implement to receive the scanned code.
-
Constructor Details
-
CodeScannedStatisticsSubscription
@Inject public CodeScannedStatisticsSubscription(CodeScanStatisticsService codeScanStatisticsService)
-
-
Method Details
-
onCodeScanned
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 interfaceICodeScannedSubscription
- Parameters:
event
- The event containing the scanned code
-