Interface ScanResult
public interface ScanResult
Deprecated!!: Please use the cn1-codescan library instead.
Callback for the code scanner indicating the result of a scan operation, the methods of this call will always be invoked on the EDT!
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked if the user canceled the scanvoidscanCompleted(String contents, String formatName, byte[] rawBytes) Called upon a successful scan operationvoidInvoked if an error occurred during the scanning process
-
Method Details
-
scanCompleted
-
scanCanceled
void scanCanceled()Invoked if the user canceled the scan -
scanError
Invoked if an error occurred during the scanning process
Parameters
-
errorCode: code -
message: descriptive message
-
-