eu.gnome.morena
Interface TransferDoneListener

All Known Subinterfaces:
TransferListener

public interface TransferDoneListener

The listener interface for handling the result of the image transfer process that is initiated by calling the Device.startTransfer(TransferDoneListener) method. Implementors should be aware that calling this methods occurs in the different thread than the scanning process has been initiated in.


Method Summary
 void transferDone(java.io.File file)
          This method is called when an image has been successfully transferred.
 void transferFailed(int code, java.lang.String message)
          This method is called when an error occurred during transfer.
 

Method Detail

transferDone

void transferDone(java.io.File file)
This method is called when an image has been successfully transferred.

Parameters:
file - - file containing transferred image

transferFailed

void transferFailed(int code,
                    java.lang.String message)
This method is called when an error occurred during transfer.

Parameters:
code - - numeric code of the error
message - - string description of the error