-
public final class IdScanResultContainer for result of recognition attempt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIdScanResult.FieldContainer for detected field data
public enumIdScanResult.RecognitionStatusEnumerated ID card scan attempt result status
public enumIdScanResult.DocumentTypeType of detected document
-
Field Summary
Fields Modifier and Type Field Description private final IdScanResult.RecognitionStatusstatusprivate final IdScanResult.DocumentTypedocumentTypeprivate final List<IdScanResult.Field>fieldsprivate final BitmapcroppedImageprivate final GenericDocumentdocument
-
Constructor Summary
Constructors Constructor Description IdScanResult(IdScanResult.RecognitionStatus status, IdScanResult.DocumentType documentType, List<IdScanResult.Field> fields, Bitmap croppedImage, GenericDocument document)
-
Method Summary
Modifier and Type Method Description final IdScanResult.RecognitionStatusgetStatus()final IdScanResult.DocumentTypegetDocumentType()final List<IdScanResult.Field>getFields()Contains list of Fields when explicitly requested to detect and recognize them Otherwise - empty array final BitmapgetCroppedImage()Contains cropped IdCard image if it was detected (that is when status equals RecognitionStatus.Success or RecognitionStatus.SuccessFound) final GenericDocumentgetDocument()Generic document object containing the recognized document -
-
Constructor Detail
-
IdScanResult
IdScanResult(IdScanResult.RecognitionStatus status, IdScanResult.DocumentType documentType, List<IdScanResult.Field> fields, Bitmap croppedImage, GenericDocument document)
-
-
Method Detail
-
getStatus
final IdScanResult.RecognitionStatus getStatus()
-
getDocumentType
final IdScanResult.DocumentType getDocumentType()
-
getFields
final List<IdScanResult.Field> getFields()
Contains list of Fields when explicitly requested to detect and recognize them Otherwise - empty array
-
getCroppedImage
final Bitmap getCroppedImage()
Contains cropped IdCard image if it was detected (that is when status equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
-
getDocument
final GenericDocument getDocument()
Generic document object containing the recognized document
-
-
-
-