public interface IFileTransferListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
STATUS_FAIL
String that will be used in onComplete if transfer finished due to an error.
|
static java.lang.String |
STATUS_PASS
String that will be used in onComplete if transfer finished without error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onCanceled()
Called when the file transfer was canceled.
|
void |
onComplete(java.lang.String status)
Called when the file has been transferred.
|
void |
onIOException(java.io.IOException e)
Called when IOException is thrown.
|
void |
onProgress(long bytesTransferred)
Called periodically during the download.
|
static final java.lang.String STATUS_PASS
static final java.lang.String STATUS_FAIL
void onComplete(java.lang.String status)
status - status string indicating completion status(pass, fail...)void onCanceled()
void onProgress(long bytesTransferred)
bytesTransferred - bytes transferred for nowvoid onIOException(java.io.IOException e)
e - exception