Legacy On Android SDK
1.7.0
1.7.0
  • Introduction
  • Overview
    • Requirements
    • Prerequisites
    • Downloading
    • Setup
    • Initialization
      • Custom headers
    • BiometridOn
      • Create process
      • Get current step
      • Get previous step
      • Get remaining steps
      • Get completed steps
      • Get process data
      • Submit form
      • Submit file
      • Submit selfie with ID card
      • Submit form with files
      • Submit multiple files
      • Submit ID document
      • Video conference
    • Liveness Detection
      • Basic detection
      • Liveness Customisation
      • Generate Liveness Surface
  • Enums
    • StepType
    • VideoConferenceState
    • Doctype
Powered by GitBook
On this page
  1. Overview
  2. BiometridOn

Video conference

This section contains the necessary methods to start videoconference.

The following method manages the the stage in which the video conference is.

BiometridOn.getInstance().startVideoConference(String process_token, OnProcessCallback callback);

Callback params

startVideoConference Callback

Callback

Boolean b

Status of request

StepType stepType

Step type

Boolean inQueue

Status of queue

Boolean inVideo

Status of queue

Errors e

Errors object

Basic implementation:

public class ExampleActivity extends Activity implements OnProcessCallback {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

        BiometridOn.getInstance().startVideoConference("PROCESS_ID", this);
    }

    @Override
    public void onVideoConferenceCallback(boolean b, StepType stepType, boolean inQueue, boolean inVideo, Errors errors) {

    }  
    ...
}

BiometridOn video-conference has 3 stages:

  • Pre-Queue:

    • This stage represents the moment before the user is ready to start the conference.

  • In-Queue:

    • The user is ready and is now waiting for an available agent to attend to the video call

  • In-Video:

    • The agent is ready and the video conference can start.

Adicional information:

  • When a stage changes the method highlighted above needs to be called again.

  • On the final stage (in-video), the method highlighted above will start a new activity containing the video conference surface.

    • The results of the video-call will fall onto the same callback

PreviousSubmit ID documentNextLiveness Detection

Last updated 6 years ago