From abc2b119c709a3fcea92ea1750f208b2bf47c9d5 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Sat, 6 Apr 2013 11:01:14 -0700 Subject: Work in progress on IMAP documentation. --- src/objc/pop/MCOPOPFetchMessagesOperation.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/objc/pop/MCOPOPFetchMessagesOperation.h') diff --git a/src/objc/pop/MCOPOPFetchMessagesOperation.h b/src/objc/pop/MCOPOPFetchMessagesOperation.h index ffbf623b..caad35b5 100644 --- a/src/objc/pop/MCOPOPFetchMessagesOperation.h +++ b/src/objc/pop/MCOPOPFetchMessagesOperation.h @@ -17,7 +17,12 @@ @interface MCOPOPFetchMessagesOperation : MCOPOPOperation -- (void)start:(void (^)(NSError *error, NSArray * messages))completionBlock; +// Starts the asynchronous operation. +// On success, the completion block will be called with nil as error and the fetched messages list. +// Messages will be an array of MCOPOPMessageInfo. +// On failure, error will be set with MCOErrorDomain as domain and an error code available in MCOConstants.h. +// messageData will be nil. +- (void) start:(void (^)(NSError * error, NSArray * /* MCOPOPMessageInfo */ messages))completionBlock; @end -- cgit v1.2.3