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 class
Field.Type
Field type
-
Field Summary
Fields Modifier and Type Field Description private final Field.Type
type
private final OcrResult
value
private final Bitmap
image
private final List<PointF>
polygonInRoot
private final ValidationStatus
validationStatus
-
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.Type
getType()
the type of the field. final OcrResult
getValue()
optional value of the field. final Bitmap
getImage()
image crop of the field. final List<PointF>
getPolygonInRoot()
final ValidationStatus
getValidationStatus()
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.
-
-
-
-