public static class IdScanResult.Field
Container for detected field data
public Field(@NotNull
io.scanbot.idcardscanner.IdScanResult.Field.Type type,
@Nullable
android.graphics.Bitmap visualSource,
@Nullable
java.lang.String text,
float textConfidence,
boolean validated)
Container for detected field data
visualSource - Cropped image part for given fieldvalidated - If this field was validated with MRZ or not (only valid for MRZ fields) - false otherwise@NotNull public io.scanbot.idcardscanner.IdScanResult.Field.Type getType()
@Nullable public android.graphics.Bitmap getVisualSource()
Cropped image part for given field
@Nullable public java.lang.String getText()
public float getTextConfidence()
public boolean getValidated()
If this field was validated with MRZ or not
(only valid for MRZ fields) - false otherwise
@NotNull public io.scanbot.idcardscanner.IdScanResult.Field.Type component1()
@Nullable public android.graphics.Bitmap component2()
Cropped image part for given field
@Nullable public java.lang.String component3()
public float component4()
public boolean component5()
If this field was validated with MRZ or not
(only valid for MRZ fields) - false otherwise
@NotNull
public io.scanbot.idcardscanner.IdScanResult.Field copy(@NotNull
io.scanbot.idcardscanner.IdScanResult.Field.Type type,
@Nullable
android.graphics.Bitmap visualSource,
@Nullable
java.lang.String text,
float textConfidence,
boolean validated)
Container for detected field data
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)