Interface EncodeFullDocumentImagesOptions
-
- All Known Implementing Classes:
BlinkIdCombinedRecognizer
public interface EncodeFullDocumentImagesOptions
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLASS_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetEncodeFullDocumentImage(boolean encodeFullDocumentImage)Sets whether full document image should be encoded in JPEG format and written into the corresponding recognition result.booleanshouldEncodeFullDocumentImage()Returns whether encoding of full document images and writing them into the recognition result is enabled.
-
-
-
Field Detail
-
CLASS_NAME
@NonNull static final java.lang.String CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setEncodeFullDocumentImage
void setEncodeFullDocumentImage(boolean encodeFullDocumentImage)
Sets whether full document image should be encoded in JPEG format and written into the corresponding recognition result. By default, this is set to 'false'.
IMPORTANT NOTE: If you setMicroblinkSDK.setIntentDataTransferMode(com.microblink.documentverification.intent.IntentDataTransferMode)toIntentDataTransferMode.STANDARDrecognizer which contains encoded image cannot be parcelized and passed byIntentextras because of Android limitations on intent extras size. If you are using one of the provided scan activities and expect receiving scan results inActivity.onActivityResult(int, int, Intent)method use eitherIntentDataTransferMode.OPTIMISEDorIntentDataTransferMode.PERSISTED_OPTIMISED- Parameters:
encodeFullDocumentImage- whether full document images should be encoded in JPEG format and written into the corresponding recognition result.
-
shouldEncodeFullDocumentImage
boolean shouldEncodeFullDocumentImage()
Returns whether encoding of full document images and writing them into the recognition result is enabled. By default, this is set to 'false'.- Returns:
- whether encoding of full document images and writing them into the recognition result is enabled.
-
-