public class TransferProgressUpdatingListener extends SyncProgressListener
ProgressListener.ExceptionReporter, ProgressListener.NoOpProgressListener
DeliveryMode.Check
NOOP
Constructor and Description |
---|
TransferProgressUpdatingListener(TransferProgress transferProgress) |
Modifier and Type | Method and Description |
---|---|
void |
progressChanged(ProgressEvent progressEvent)
Called when progress has changed, such as additional bytes transferred,
transfer failed, etc.
|
isSyncCallSafe
public TransferProgressUpdatingListener(TransferProgress transferProgress)
public void progressChanged(ProgressEvent progressEvent)
ProgressListener
SDKProgressPublisher
. Implementation of this interface
should never block.
If the implementation follows the best practice and doesn't block, it
should then extends from SyncProgressListener
.
Note any exception thrown by the listener will get ignored.
Should there be need to capture any such exception, you may consider
wrapping the listener with ProgressListener.ExceptionReporter.wrap(ProgressListener)
.
progressEvent
- The event describing the progress change.SDKProgressPublisher
,
ProgressListener.ExceptionReporter