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.
Parameters | Description |
---|---|
code | int: The error code. |
message | String: The message associated with error code. |
Method Summary
Type | Method | Description |
---|---|---|
int | getCode() | Returns the error code. |
String | getMessage() | 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.
Key | Code | Message |
---|---|---|
FACE_IS_NOT_FOUND | 130001 | Face is not found. |
UNABLE_TO_DETECT_EYES | 130002 | Unable to detect eyes. |
UNABLE_TO_DETECT_LIPS | 130003 | Unable to detect lips. |
HEAD_TURNED_TOO_FAR | 130004 | Head turned too far. |
PLEASE_ALIGN_THE_FACE_IN_THE_CENTER | 130005 | Please align the face in the center. |
MULTIPLE_FACES_FOUND | 130006 | Multiple faces found. |