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>
quad
private final List<MedicalCertificatePatientInfoField>
fields
private final Boolean
hasContents
-
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 Boolean
getHasContents()
Whether the patient info box has contents. final JSONObject
toJson(ToJsonConfiguration config)
final MedicalCertificatePatientInfoBox
clone()
-
-
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()
-
-
-
-