Accusoft USB Scanner SDK
ISessionCallback Interface Reference

This interface provides a callback method that is executed when a ScanSession object has finished being asynchronously constructed. More...

Inherits Serializable.

List of all members.

Public Member Functions

void onError (ScanError error)
 Callback executed if an error occurs during construction.
void onScanSession (ScanSession session)
 This method is called when a ScanSession object has been constructed via a call to ScanSession.requestSession().

Detailed Description

This interface provides a callback method that is executed when a ScanSession object has finished being asynchronously constructed.


Member Function Documentation

void onError ( ScanError  error)

Callback executed if an error occurs during construction.

Parameters:
errorSee ScanError.
void onScanSession ( ScanSession  session)

This method is called when a ScanSession object has been constructed via a call to ScanSession.requestSession().

Parameters:
sessionThe constructed session.