public class IdScanResult
Container for results of interface IdCardScanner
interface IdCardScannerpublic IdScanResult(@NotNull
io.scanbot.sdk.idcardscanner.IdScanResult.RecognitionStatus status,
@NotNull
io.scanbot.sdk.idcardscanner.IdScanResult.DocumentType documentType,
@NotNull
java.util.List<io.scanbot.sdk.idcardscanner.IdScanResult.Field> fields,
@NotNull
java.util.List<io.scanbot.mrzscanner.model.MRZField> mrzFields,
@NotNull
java.util.List<io.scanbot.mrzscanner.model.MRZCheckDigit> mrzCheckDigits,
@Nullable
android.graphics.Bitmap croppedImage)
Container for results of interface IdCardScanner
status - Recognition statusdocumentType - Type of detected documentfields - Contains list of class IdScanResult.Field detected on the imageOtherwise - empty arraymrzFields - Contains list of MRZField detected on the imageOtherwise - empty arraymrzCheckDigits - Contains list of MRZCheckDigit detected on the imageOtherwise - empty arraycroppedImage - Contains cropped IdCard image if it was detected (that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)interface IdCardScanner@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.RecognitionStatus getStatus()
Recognition status
@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.DocumentType getDocumentType()
Type of detected document
@NotNull public java.util.List<io.scanbot.sdk.idcardscanner.IdScanResult.Field> getFields()
Contains list of
class IdScanResult.Field detected on the imageOtherwise - empty array
class IdScanResult.Field@NotNull public java.util.List<io.scanbot.mrzscanner.model.MRZField> getMrzFields()
Contains list of
MRZField detected on the imageOtherwise - empty array
@NotNull public java.util.List<io.scanbot.mrzscanner.model.MRZCheckDigit> getMrzCheckDigits()
Contains list of
MRZCheckDigit detected on the imageOtherwise - empty array
@Nullable public android.graphics.Bitmap getCroppedImage()
Contains cropped IdCard image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.RecognitionStatus component1()
Recognition status
@NotNull public io.scanbot.sdk.idcardscanner.IdScanResult.DocumentType component2()
Type of detected document
@NotNull public java.util.List<io.scanbot.sdk.idcardscanner.IdScanResult.Field> component3()
Contains list of
class IdScanResult.Field detected on the imageOtherwise - empty array
class IdScanResult.Field@NotNull public java.util.List<io.scanbot.mrzscanner.model.MRZField> component4()
Contains list of
MRZField detected on the imageOtherwise - empty array
@NotNull public java.util.List<io.scanbot.mrzscanner.model.MRZCheckDigit> component5()
Contains list of
MRZCheckDigit detected on the imageOtherwise - empty array
@Nullable public android.graphics.Bitmap component6()
Contains cropped IdCard image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@NotNull public IdScanResult copy(@NotNull io.scanbot.sdk.idcardscanner.IdScanResult.RecognitionStatus status, @NotNull io.scanbot.sdk.idcardscanner.IdScanResult.DocumentType documentType, @NotNull java.util.List<io.scanbot.sdk.idcardscanner.IdScanResult.Field> fields, @NotNull java.util.List<io.scanbot.mrzscanner.model.MRZField> mrzFields, @NotNull java.util.List<io.scanbot.mrzscanner.model.MRZCheckDigit> mrzCheckDigits, @Nullable android.graphics.Bitmap croppedImage)
Container for results of interface IdCardScanner
interface IdCardScanner@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)