Interface NativeBarcodeResultListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(AnylineYuvImage resultImage, List<Barcode> barcodes) Is called when NativeBarcode scanned with success
      abstract void onFailure(String failureMessage) Is called when NativeBarcode failed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onSuccess

         abstract void onSuccess(AnylineYuvImage resultImage, List<Barcode> barcodes)

        Is called when NativeBarcode scanned with success

        Parameters:
        resultImage - the source image
        barcodes - the barcodeList found while scanning
      • onFailure

         abstract void onFailure(String failureMessage)

        Is called when NativeBarcode failed

        Parameters:
        failureMessage - the failure message when failure occurs