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

Adding a video step

MobbScan offers you the possibility of establishing a video conference as an extra step in your verification process.

Configuration

Before starting developing your video step, you need to add the following dependencies in your build.gradle file (dependencies section).

android {
    ...
    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
    ...
}
dependencies {
    ...
    implementation 'com.twilio:video-android:7.6.1'
    ...
}

Video step preparation

First, you need to configure the video component:

Kotlin / Java
MobbScanVideoAPI mobbScanVideoAPI = MobbScanVideoAPI.getInstance();
mobbScanVideoAPI.setBaseURL("https://yourvideoinstance.yourcompany.com");
mobbScanVideoAPI.setLocalVideoContainer(this.localVideoViewContainer);
mobbScanVideoAPI.setRemoteVideoContainer(this.remoteVideoViewContainer);

Note: localVideoContainer and remoteVideoContainer are instances of MobbScanVideoView. You can adjust how the video will be presented in your layout using aspecMode attribute of each of these view (both in XML or programmatically).

If your layout will present both videos somehow overlapped, you need to specify which one should be on top of the other using setTopVideoView of MobbScanVideoView.

Define your listener to be reported of the changes during the video step.

Kotlin
Java
mobbScanVideoAPI.setListener() { resut, resultData, error -> {
// Your code for the listener here...
}}
mobbScanVideoAPI.setListener(new MobbScanVideoListener() {
@Override
public void onVideoEvent(MobbScanVideoResult result, MobbScanVideoResultData resultData, MobbScanAPIError error) {
// your code for the listener here...
}
});

The listener call has 3 objects, that represent the following:

  • MobbScanVideoResult result: represents the state of the process. Can return one of the following values:

    valuedescriptioncomment
    WAITINGVideo step is still waiting for availabilityWhen this is the state of the video, you can use the MobbScanVideoResultData.waitTime
    ON_PROCESSVideo is stablished and being processed
    FINISHEDVideo step has already been doneWhen this is the state of the video, you can use the MobbScanVideoResultData.finishedByClient
    ERRORA problem occurs during the video stepError parameter gives you extra information of the problem
  • MobbScanVideoResultData resultData: object that contains a boolean indicating if the call was finished by a the client or by the remote site and an estimation of the time needed to establish the video. Available when the result param is set to WAITING or FINISHED.

  • MobbScanAPIError error: object that specifies the error ocurred during the process. Contains the error code and extra information about the error.

Start the video conference

Note: To start the video conference process you should have done the startScan method to get the scan id previously. If you don't know how to to this, please visit the getting started guide.

Having the scanId, you only need to do the following:

Kotlin / Java
mobbScanVideoAPI.start("YOUR_SCAN_ID");

Allow the user to stop the video

If you need to give the user the posibility to finish the video process, you can use the stop method.

Kotlin / Java
mobbScanVideoAPI.stop();
← Record a video while user performs a scanConfigure Play Store distribution →
  • Configuration
  • Video step preparation
  • Start the video conference
  • Allow the user to stop the video
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL