Interface FaceImageOptions
-
- All Known Implementing Classes:
BlinkIdCombinedRecognizer
public interface FaceImageOptions
-
-
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 voidsetReturnFaceImage(boolean displayFaceImage)Sets whether face image from document should be available inFaceImageResult.booleanshouldReturnFaceImage()Returns whether face image will be available inFaceImageResult.
-
-
-
Field Detail
-
CLASS_NAME
@NonNull static final java.lang.String CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setReturnFaceImage
void setReturnFaceImage(boolean displayFaceImage)
Sets whether face image from document should be available inFaceImageResult. If enabled, get image usingFaceImageResult.getFaceImage()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, android.content.Intent)method use eitherIntentDataTransferMode.OPTIMISEDorIntentDataTransferMode.PERSISTED_OPTIMISED- Parameters:
displayFaceImage- whether face image will be available inFaceImageResult.
-
shouldReturnFaceImage
boolean shouldReturnFaceImage()
Returns whether face image will be available inFaceImageResult. By default, this is set to 'false'.- Returns:
- whether face image will be available in
FaceImageResult.
-
-