Foxit PDF SDK  9.1
com.foxit.pdfscan.IPDFScanManagerListener Interface Reference

Public Member Functions

void onDocumentAdded (int errorCode, String path)
 

Public Attributes

int e_ErrSuccess = 0
 
int e_ErrUnknown = 1
 

Detailed Description

Interface used to if the scaning content changes.

Member Function Documentation

◆ onDocumentAdded()

void com.foxit.pdfscan.IPDFScanManagerListener.onDocumentAdded ( int  errorCode,
String  path 
)

Called when if the scanned file is successfully saved as a pdf document.

Parameters
errorCodeif the scanned file is successfully saved as a pdf document, the errorCode is e_ErrSuccess, otherwise is e_ErrUnknown
paththe document file path.

Member Data Documentation

◆ e_ErrSuccess

int com.foxit.pdfscan.IPDFScanManagerListener.e_ErrSuccess = 0

Success, and no error occurs

◆ e_ErrUnknown

int com.foxit.pdfscan.IPDFScanManagerListener.e_ErrUnknown = 1

Failed, any unknown error occurs.