Package 

Class BarcodeCandidate


  • 
    public final class BarcodeCandidate
    
                        

    Data class that represents the results of the barcode detection process.

    • Method Summary

      Modifier and Type Method Description
      final String getBarcode() Barcode string used to fetch nutritional information using the PassioSDK.
      final RectF getBoundingBox() The bounding box of the detected barcode, in absolute coordinates.
      • Methods inherited from class java.lang.Object

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

      • BarcodeCandidate

        BarcodeCandidate(String barcode, RectF boundingBox)
    • Method Detail

      • getBarcode

         final String getBarcode()

        Barcode string used to fetch nutritional information using the PassioSDK.fetchPassioIDAttributesForBarcode method.

      • getBoundingBox

         final RectF getBoundingBox()

        The bounding box of the detected barcode, in absolute coordinates.