Skip to main content

DocumentScanner

public class DocumentScanner extends Object

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

  • Utility class to manage Document Scanner errors.

Constructor​

public DocumentScanner(int code, String message)

Creates an object of DocumentScanner class.

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

For more information on error codes, see the Error Codes section below.

Method Summary​

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

Method Details​

MethodSignatureDescription
getCodepublic int getCode()Returns error code.
getMessagepublic String getMessage()Returns error message.

Error Codes​

The table below lists the error code and its message.

KeyCodeMessage
CANCELED900001Canceled
INVALID_DOC_TYPE900002Invalid document Type