public interface TransferListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(int id,
java.lang.Exception ex)
Called when an exception happens.
|
void |
onProgressChanged(int id,
long bytesCurrent,
long bytesTotal)
Called when more bytes are transferred.
|
void |
onStateChanged(int id,
TransferState state)
Called when the state of the transfer is changed.
|
void onStateChanged(int id,
TransferState state)
id - The id of the transfer record.state - The new state of the transfer.void onProgressChanged(int id,
long bytesCurrent,
long bytesTotal)
id - The id of the transfer record.bytesCurrent - Bytes transferred currently.bytesTotal - The total bytes to be transferred.void onError(int id,
java.lang.Exception ex)
id - The id of the transfer record.ex - An exception object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.