|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UrlCopyListener
Method Summary | |
---|---|
void |
transfer(long transferedBytes,
long totalBytes)
This function is contniuosly called during url transfers. |
void |
transferCompleted()
This function is called once the transfer is completed either successfully or because of a failure. |
void |
transferError(Exception exception)
This function is called only when an error occurs. |
Method Detail |
---|
void transfer(long transferedBytes, long totalBytes)
transferedBytes
- number of bytes currently trasfered
if -1, then performing thrid party transfertotalBytes
- number of total bytes to transfer
if -1, the total size in unknown.void transferError(Exception exception)
exception
- the actual error exceptionvoid transferCompleted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |