BiometridOn

This section contains the necessary methods to interact with BiometridOn.

BiometridOn is a class that contains many methods described along the documentation.

User interactions available through the BiometridOn :

  • Create a process: Create a new process.

  • Get current step: Get the process current step.

  • Get previous step: Get the process previous step's.

  • Get remaining steps: Get the process remaining step's.

  • Get completed steps: Get the process completed steps'.

  • Get process data: Get process data values.

  • Delete process: Delete a process.

  • Submit form: Send the form data.

  • Submit file: Send the files.

  • Submit form with files: Send the form with files.

  • Submit multiple files: Send the multiple files.

  • Submit ID Card: Send the front and back images from ID Card.

  • Start videoconference: Start or join the videoconference.

To follow the logical flow, before anything else, a process must be created.

The context responsible for this has to implement the interface OnProcessCallback.

public class ExampleActivity extends Activity implements OnProcessCallback {

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

    @Override
    public void onCreateProcessCallback(Boolean status, String token, StepType step, JSONObject data, Errors errors) {

    }

    @Override
    public void onCurrentStepCallback(Boolean aBoolean, StepType step, JSONObject data, Errors errors) {

    }

    @Override
    public void onSubmitFormCallback(Boolean aBoolean, StepType step, JSONObject data, Errors errors) {

    }

    @Override
    public void onPusherEventsCallback(String channel_name, String event, JSONObject data, Errors errors) {

    }

    ...
}

Last updated