Interface ProgressListener
-
- All Implemented Interfaces:
public interface ProgressListener
This interface is used with com.sap.cloud.mobile.foundation.networking.Progress.
-
-
Method Summary
Modifier and Type Method Description abstract void
update(long bytesRead, int percentComplete)
This function is called with progress information for a response. -
-
Method Detail
-
update
abstract void update(long bytesRead, int percentComplete)
This function is called with progress information for a response. This function only gets invoked once for each percent.
- Parameters:
bytesRead
- The total number of bytes read.percentComplete
- The percent complete is always rounded down, so when this value is 100 all bytes have been read (though the stream might not be closed).
-
-
-
-