LiveIDSelfie
public class LiveIDSelfie extends Object
↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager
Utility class to manage LiveIDSelfie errors.
Constructor
public LiveIDSelfie(int code, String message)
Creates an object of LiveIDSelfie 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 license error codes and messages.
| Key | Code | Message |
|---|---|---|
| CANCELED | 120001 | Canceled |
| WALLETAPI_URL_NOT_SET | 120002 | WalletAPI URL is not set for environment. |
| WALLET_RESTORATION_FAILED | 120003 | Wallet restoration failed. |
| GENERATE_SESSION_FAILED | 120004 | Generate new session for LiveID Selfie failed. |