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)operationCompleted
Declared In
MCOOperation.h
start:
Starts the asynchronous copy operation.
- (void)start:(void ( ^ ) ( NSError *error , NSDictionary *uidMapping ))completionBlock
Parameters
- completionBlock
Called when the operation is finished.
On success
error
will be nil anddestUids
will contain the UIDs of the messages created in the destination folder. If the server doesn’t support UIDPLUS thendestUids
will be nil.On failure,
error
will be set withMCOErrorDomain
as domain and an error code available inMCOConstants.h
,destUids
will be nil
Declared In
MCOIMAPCopyMessagesOperation.h