MCOIMAPCopyMessagesOperation Class Reference
| Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
| Declared in | MCOIMAPCopyMessagesOperation.h MCOIMAPCopyMessagesOperation.mm |
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 copy operation.
- (void)start:(void ( ^ ) ( NSError *error , NSDictionary *uidMapping ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil anddestUidswill contain the UIDs of the messages created in the destination folder. If the server doesn’t support UIDPLUS thendestUidswill be nil.On failure,
errorwill be set withMCOErrorDomainas domain and an error code available inMCOConstants.h,destUidswill be nil
Declared In
MCOIMAPCopyMessagesOperation.h