TRCProgressHandler
describes methods of object, used to track download and upload progress
More...
Instance Methods | |
(void) | - setUploadProgressBlock: |
Sets upload block, which called after each upload progress change. More... | |
(void) | - setDownloadProgressBlock: |
Sets download block, which called after each upload progress change. More... | |
(void) | - pause |
Pauses current upload or download progress. More... | |
(void) | - resume |
Resumes current upload or download progress. More... | |
(void) | - cancel |
Cancels current upload or download progress. More... | |
(TRCProgressHandlerState) | - state |
Returns current state of network operation. More... | |
TRCProgressHandler
describes methods of object, used to track download and upload progress
- (void) setUploadProgressBlock: | (TRCUploadProgressBlock) | block |
Sets upload block, which called after each upload progress change.
- (void) setDownloadProgressBlock: | (TRCDownloadProgressBlock) | block |
Sets download block, which called after each upload progress change.
- (void) pause |
Pauses current upload or download progress.
- (void) resume |
Resumes current upload or download progress.
- (void) cancel |
Cancels current upload or download progress.
- (TRCProgressHandlerState) state |
Returns current state of network operation.
Reimplemented in TRCSessionTaskContext.