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
  • Callback params
  • Implementation example
  1. Overview
  2. BiometridOn

Get completed steps

This section contains the necessary methods to get completed step's.

The following method provides information about all the completed steps in the specified process token.

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

Callback params

getCompletedSteps Callback

Callback

Boolean status

Status of request

ArrayList<StepType> stepTypes

Completed step's array from process

JsonObject json

JsonObject data from request

Errors e

Errors object

Implementation example

public class ExampleActivity extends Activity implements OnProcessCallback {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

        BiometridOn.getInstance().getCompletedSteps("PROCESS_TOKEN", this); 
    }

    @Override
    public void onCompletedStepsCallback(boolean status, ArrayList<StepType> stepTypes, JsonObject json, Errors e) {

    }

    ...
}
PreviousGet remaining stepsNextGet process data

Last updated 6 years ago