public class IdScanResult
Container for result of recognition attempt
public IdScanResult(@NotNull
io.scanbot.idcardscanner.IdScanResult.RecognitionStatus status,
@NotNull
io.scanbot.idcardscanner.IdScanResult.DocumentType documentType,
@NotNull
java.util.List<io.scanbot.idcardscanner.IdScanResult.Field> fields,
@Nullable
android.graphics.Bitmap croppedImage,
@Nullable
io.scanbot.genericdocument.entity.GenericDocument document)
Container for result of recognition attempt
fields - Contains list of class IdScanResult.Fields when explicitly requested to detect and recognize themOtherwise - empty arraycroppedImage - Contains cropped IdCard image if it was detected (that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)document - Generic document object containing the recognized document@NotNull public io.scanbot.idcardscanner.IdScanResult.RecognitionStatus getStatus()
@NotNull public io.scanbot.idcardscanner.IdScanResult.DocumentType getDocumentType()
@NotNull public java.util.List<io.scanbot.idcardscanner.IdScanResult.Field> getFields()
Contains list of
class IdScanResult.Fields when explicitly requested to detect and recognize themOtherwise - empty array
class IdScanResult.Field@Nullable public android.graphics.Bitmap getCroppedImage()
Contains cropped IdCard image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@Nullable public io.scanbot.genericdocument.entity.GenericDocument getDocument()
Generic document object containing the recognized document
@NotNull public io.scanbot.idcardscanner.IdScanResult.RecognitionStatus component1()
@NotNull public io.scanbot.idcardscanner.IdScanResult.DocumentType component2()
@NotNull public java.util.List<io.scanbot.idcardscanner.IdScanResult.Field> component3()
Contains list of
class IdScanResult.Fields when explicitly requested to detect and recognize themOtherwise - empty array
class IdScanResult.Field@Nullable public android.graphics.Bitmap component4()
Contains cropped IdCard image if it was detected
(that is whenstatus equals RecognitionStatus.Success or RecognitionStatus.SuccessFound)
@Nullable public io.scanbot.genericdocument.entity.GenericDocument component5()
Generic document object containing the recognized document
@NotNull public IdScanResult copy(@NotNull io.scanbot.idcardscanner.IdScanResult.RecognitionStatus status, @NotNull io.scanbot.idcardscanner.IdScanResult.DocumentType documentType, @NotNull java.util.List<io.scanbot.idcardscanner.IdScanResult.Field> fields, @Nullable android.graphics.Bitmap croppedImage, @Nullable io.scanbot.genericdocument.entity.GenericDocument document)
Container for result of recognition attempt
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)