Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›Additional configuration

MobbScan Android SDK

  • Configure MobbScan Android SDK

Getting Started

  • Getting started with MobbScan
  • Detect and scan a document in two different calls
  • Detect and scan MRZ
  • Detect and scan a PDF417
  • Scanning documents with NFC
  • Error Handling

Additional configuration

  • Configure the detection process
  • Perform face matching with MobbScan
  • Select images returned by a scan
  • Fix scan orientation
  • Record a video while user performs a scan
  • Adding a video step
  • Configure Play Store distribution

MobbScan UI customization

  • Customize MobbScan Default Interfaces
  • Customize MobbScan document scan UI
  • Customize MobbScan MRZ scan UI
  • Customize Unattended Process UI
  • Customize feedback messages

MobbScan-Agent configurations

  • Getting the verification result

Migration Guides

  • Migration 2.25.x to 2.26.x
  • Migration 2.24.x to 2.25.x
  • Migration to 2.24.x
  • Migration to 2.22.x
  • Migration 2.19.x to 2.21.x
  • Migration 2.18.x to 2.19.x
  • Migration 2.13.x to 2.14.x

Information

  • Changelog
  • API Reference

Select images returned by a scan

Configurate image selection

MobbScan allows you to select the images that the scan process returns. To configure this, you will have to create a special configuration like this:

Kotlin
Java
val mobbScanConfiguration = MobbScanConfiguration()
val images: MutableList<MobbScanImageType> = ArrayList()
images.add(MobbScanImageType.FACE_DOCUMENT)
images.add(MobbScanImageType.MRZ)
images.add(MobbScanImageType.SIGNATURE)
mobbScanConfiguration.images = images
MobbScanConfiguration mobbScanConfiguration = new MobbScanConfiguration();
List<MobbScanImageType> images = new ArrayList<>();
images.add(MobbScanImageType.FACE_DOCUMENT);
images.add(MobbScanImageType.MRZ);
images.add(MobbScanImageType.SIGNATURE);
mobbScanConfiguration.setImages(images);

Once you have your MobbScanConfiguration instance with the images you want to obtain from the documents, you have to include this object in the initAPI method.

If you want to know more about this method you can go to the basic configuration.

Kotlin
Java
MobbScanAPI.getInstance().initAPI("YOUR_LICENSE_HERE", this, object : LicenseStatusListener {
override fun onLicenseStatusChecked(licenseResult: MobbScanLicenseResult?, licenseValidTo: Date?) {
// Your code for the listener here...
}
}, mobbScanConfiguration)
MobbScanAPI.getInstance().initAPI("YOUR_LICENSE_HERE", this, new LicenseStatusListener() {
@Override
public void onLicenseStatusChecked(MobbScanLicenseResult licenseResult, Date licenseValidTo) {
// Your code for the listener here...
}
}, mobbScanConfiguration);

The list of images available to obtain from a document are indicated in the MobbScanImageType enum. Some of the images are only available in those documents that contains them, as it is the case of the Fingerprint or QRCode.

The possible values are:

valuedescription
FRONTFront document image
BACKBack document image
MRZMRZ image from the document
FACE_DOCUMENTFace image on the document
SIGNATURESignature on the document
FINGERPRINTFingerprint on the document
PDF417PDF417 image from the document
FACE_NOWOnly available when performing face matching. Returns the selfie image obtain in the face matching process.
QRCodeQRCode image from the document.

Obtaining the images after scan

Once you have configured MobbScan and performed a scan, you will be able to obtain the image at the IDDocumentScanListener of the scan.

Kotlin
Java
var docSide = MobbScanDocumentSide.FRONT
MobbScanAPI.getInstance().scanDocument(docSide, "YOUR_SCAN_ID_HERE", { result, resultData, error ->
// Your code for the detection listener here...
}, { result, resultData, error ->
// Your code for the scan listener here...
if (error == null) {
var faceImage = resultData.getImage(scanId, MobbScanImageType.FACE_DOCUMENT)
var mrzImage = resultData.getImage(scanId, MobbScanImageType.MRZ)
var signatureImage = resultData.getImage(scanId, MobbScanImageType.SIGNATURE)
}
})
obbScanDocumentSide docSide = MobbScanDocumentSide.FRONT;
MobbScanAPI.getInstance().scanDocument(docSide, "YOUR_SCAN_ID_HERE", new IDDocumentDetectionListener() {
@Override
public void onIDDocumentDetected(MobbScanDetectionResult result, MobbScanDetectionResultData resultData, MobbScanAPIError error) {
// Your code for the listener here...
}
}, new IDDocumentScanListener() {
@Override
public void onIDDocumentScanned(MobbScanScanResult result, MobbScanScanResultData resultData, MobbScanAPIError error) {
if (error == null) {
Bitmap faceImage = resultData.getImage(scanId, MobbScanImageType.FACE_DOCUMENT);
Bitmap mrzImage = resultData.getImage(scanId, MobbScanImageType.MRZ);
Bitmap signatureImage = resultData.getImage(scanId, MobbScanImageType.SIGNATURE);
}
}
});
← Perform face matching with MobbScanFix scan orientation →
  • Configurate image selection
  • Obtaining the images after scan
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL