MCOIMAPCapabilityOperation Class Reference
| Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
| Declared in | MCOIMAPCapabilityOperation.h MCOIMAPCapabilityOperation.mm |
Overview
This class implements an operation to query for IMAP capabilities, like for example the extensions UIDPLUS, IDLE, NAMESPACE, … etc
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 capabilities operation.
- (void)start:(void ( ^ ) ( NSError *error , MCOIndexSet *capabilities ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil andcapabilitieswill contain a set of IMAP capabilities. SeeMCOConstants.hunderMCOIMAPCapabilityfor a list of possible values.On failure,
errorwill be set withMCOErrorDomainas domain and an error code available in MCOConstants.h,capabilitieswill be nil
Declared In
MCOIMAPCapabilityOperation.h