Class MedicalCertificatePatientInfoBox
java.lang.Object
io.scanbot.sdk.medicalcertificate.MedicalCertificatePatientInfoBox
Patient information box.
-
Constructor Summary
ConstructorsConstructorDescriptionMedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields) Constructs MedicalCertificatePatientInfoBox with default parameters.MedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields, boolean hasContents) Constructs MedicalCertificatePatientInfoBox with the given params. -
Method Summary
Modifier and TypeMethodDescriptionGetter for fields field.booleanGetter for hasContents field.getQuad()Getter for quad field.
-
Constructor Details
-
MedicalCertificatePatientInfoBox
public MedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields, boolean hasContents) Constructs MedicalCertificatePatientInfoBox with the given params.- Parameters:
quad- Four corners of the patient info box.fields- Vector of found fields.hasContents- Whether the patient info box has contents. Default is `false`.
-
MedicalCertificatePatientInfoBox
public MedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields) Constructs MedicalCertificatePatientInfoBox with default parameters.- Parameters:
quad- Four corners of the patient info box.fields- Vector of found fields.
-
-
Method Details
-
getQuad
Getter for quad field. See constructor documentation for more information about the field.- Returns:
- quad
-
getFields
Getter for fields field. See constructor documentation for more information about the field.- Returns:
- fields
-
getHasContents
public boolean getHasContents()Getter for hasContents field. See constructor documentation for more information about the field.- Returns:
- hasContents
-