Skip to main content

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.

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 license error codes and messages.

KeyCodeMessage
CANCELED120001Canceled
WALLETAPI_URL_NOT_SET120002WalletAPI URL is not set for environment.
WALLET_RESTORATION_FAILED120003Wallet restoration failed.
GENERATE_SESSION_FAILED120004Generate new session for LiveID Selfie failed.