MCOIMAPCapabilityOperation Class Reference
|Inherits from||MCOIMAPBaseOperation : MCOOperation : NSObject|
This class implements an operation to query for IMAP capabilities, like for example the extensions UIDPLUS, IDLE, NAMESPACE, … etc
This methods is called on the main thread when the asynchronous operation is finished. Needs to be overriden by subclasses.
Starts the asynchronous capabilities operation.
- (void)start:(void ( ^ ) ( NSError *error , MCOIndexSet *capabilities ))completionBlock
Called when the operation is finished.
errorwill be nil and
capabilitieswill contain a set of IMAP capabilities. See
MCOIMAPCapabilityfor a list of possible values.
errorwill be set with
MCOErrorDomainas domain and an error code available in MCOConstants.h,
capabilitieswill be nil