Package io.scanbot.sdk.mc
Class MedicalCertificatePatientInfoBox
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class MedicalCertificatePatientInfoBox implements Parcelable
Patient information box.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<PointF>quadprivate final List<MedicalCertificatePatientInfoField>fieldsprivate final BooleanhasContents
-
Constructor Summary
Constructors Constructor Description MedicalCertificatePatientInfoBox(Map<String, Object> source)MedicalCertificatePatientInfoBox(JSONObject json)MedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields, Boolean hasContents)
-
Method Summary
Modifier and Type Method Description final List<PointF>getQuad()Four corners of the patient info box. final List<MedicalCertificatePatientInfoField>getFields()Vector of found fields. final BooleangetHasContents()Whether the patient info box has contents. final JSONObjecttoJson(ToJsonConfiguration config)final MedicalCertificatePatientInfoBoxclone()-
-
Constructor Detail
-
MedicalCertificatePatientInfoBox
MedicalCertificatePatientInfoBox(JSONObject json)
-
MedicalCertificatePatientInfoBox
MedicalCertificatePatientInfoBox(List<PointF> quad, List<MedicalCertificatePatientInfoField> fields, Boolean hasContents)
-
-
Method Detail
-
getFields
final List<MedicalCertificatePatientInfoField> getFields()
Vector of found fields.
-
getHasContents
final Boolean getHasContents()
Whether the patient info box has contents.
Default is false
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final MedicalCertificatePatientInfoBox clone()
-
-
-
-