FolderList Event
Fired when a folder is retrieved by the server.
Syntax
ANSI (Cross Platform) virtual int FireFolderList(Office365FolderListEventParams *e);
typedef struct {
const char *Id;
const char *DisplayName;
const char *ParentFolderId;
int ChildFolderCount;
int UnreadItemCount;
int TotalItemCount; int reserved; } Office365FolderListEventParams; Unicode (Windows) virtual INT FireFolderList(Office365FolderListEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR DisplayName;
LPCWSTR ParentFolderId;
INT ChildFolderCount;
INT UnreadItemCount;
INT TotalItemCount; INT reserved; } Office365FolderListEventParams;
- (void)onFolderList:(NSString*)id :(NSString*)displayName :(NSString*)parentFolderId :(int)childFolderCount :(int)unreadItemCount :(int)totalItemCount;
#define EID_OFFICE365_FOLDERLIST 4 virtual INT CLOUDMAIL_CALL FireFolderList(LPSTR &lpszId, LPSTR &lpszDisplayName, LPSTR &lpszParentFolderId, INT &iChildFolderCount, INT &iUnreadItemCount, INT &iTotalItemCount);
Remarks
The FolderList event is fired for each folder retrieved from the server when ListFolders is called.