UniPRT SDK  v1.0.0.0
OdvReport Class Reference

ODV Report class to show ODV/ODV2D data received from printer. More...

Public Member Functions

String Data ()
 String representation of barcode data.
 
boolean Failed ()
 True if barcode failed.
 
String OverallGrade ()
 Barcode OverallGrade as letter and numeric value. e.g. "A (4.0)".
 
float OverallGradeAsFloat ()
 Barcode OverallGrade as a float value. e.g. 2.7, 3.5, 4.0. More...
 
String OverallGradeLetter ()
 Barcode OverallGrade as letter. e.g. "A".
 
String Symbology ()
 Barcode symbology name. e.g. "Data Matrix".
 

Public Attributes

Map< String, String > RawReport = new HashMap<>()
 Raw report received from printer. Useful if need to see details such as defects or other grading parameters. More...
 

Detailed Description

ODV Report class to show ODV/ODV2D data received from printer.

Member Function Documentation

◆ OverallGradeAsFloat()

float OverallGradeAsFloat ( )

Barcode OverallGrade as a float value. e.g. 2.7, 3.5, 4.0.

Useful for cases where filtering based on a specific numeric grade is required.

Member Data Documentation

◆ RawReport

Map<String, String> RawReport = new HashMap<>()

Raw report received from printer. Useful if need to see details such as defects or other grading parameters.

Note: Barcode data may be ASCII or base64 encoded data.