Class Field
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Field implements Parcelable
Document field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classField.TypeField type
-
Field Summary
Fields Modifier and Type Field Description private final Field.Typetypeprivate final OcrResultvalueprivate final Bitmapimageprivate final List<PointF>polygonInRootprivate final ValidationStatusvalidationStatus
-
Constructor Summary
Constructors Constructor Description Field(Field.Type type, OcrResult value, Bitmap image, List<PointF> polygonInRoot, ValidationStatus validationStatus)
-
Method Summary
Modifier and Type Method Description final Field.TypegetType()the type of the field. final OcrResultgetValue()optional value of the field. final BitmapgetImage()image crop of the field. final List<PointF>getPolygonInRoot()final ValidationStatusgetValidationStatus()field validation status. -
-
Constructor Detail
-
Field
Field(Field.Type type, OcrResult value, Bitmap image, List<PointF> polygonInRoot, ValidationStatus validationStatus)
-
-
Method Detail
-
getType
final Field.Type getType()
the type of the field.
-
getPolygonInRoot
final List<PointF> getPolygonInRoot()
-
getValidationStatus
final ValidationStatus getValidationStatus()
field validation status. Applicable only to fields that support some kind of validation.
-
-
-
-