Class MedicalCertificatePatientInfoBox

java.lang.Object
io.scanbot.sdk.medicalcertificate.MedicalCertificatePatientInfoBox

public class MedicalCertificatePatientInfoBox extends Object
Patient information box.
  • 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

      public List<PointF> 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