Skip to main content

LiveIDScanningError

public class LiveIDScanningError extends Object

↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager

Utility class to manage LiveIDScanning Error errors.

Constructor

public LiveIDScanningError (int code, String message)

Creates an object of LiveIDScanningError class.

ParametersDescription
codeint: The error code.
messageString: The message associated with error code.

Method Summary

TypeMethodDescription
intgetCode()Returns the error code.
StringgetMessage()Returns the error message.

Method Details

getCode

public int getCode()

  • Returns the error code.

getMessage

public String getMessage()

  • Returns the error message.

Error Codes

The below table lists error codes and messages.

KeyCodeMessage
FACE_IS_NOT_FOUND130001Face is not found.
UNABLE_TO_DETECT_EYES130002Unable to detect eyes.
UNABLE_TO_DETECT_LIPS130003Unable to detect lips.
HEAD_TURNED_TOO_FAR130004Head turned too far.
PLEASE_ALIGN_THE_FACE_IN_THE_CENTER130005Please align the face in the center.
MULTIPLE_FACES_FOUND130006Multiple faces found.