MCOIMAPFetchContentOperation Class Reference
| Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
| Declared in | MCOIMAPFetchContentOperation.h MCOIMAPFetchContentOperation.mm |
Overview
This class implements an operation to fetch the content of a message. It can be a part or a full message.
Instance Methods
operationCompleted
This methods is called on the main thread when the asynchronous operation is finished. Needs to be overriden by subclasses.
- (void)operationCompletedDeclared In
MCOOperation.hstart:
Starts the asynchronous fetch operation.
- (void)start:(void ( ^ ) ( NSError *error , NSData *data ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil anddatawill contain the requested dataOn failure,
errorwill be set withMCOErrorDomainas domain and an error code available inMCOConstants.h,datawill be nil
Declared In
MCOIMAPFetchContentOperation.h