API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IGALLERY_SYNC()

Brew Release
Brew MP 1.0.2
Description
Synchronizes information for all contents in the list of specified. This will not sync the gallery default directories.
Params
pif
[in]:
Pointer to IGallery interface
pszURLs
[in]:
List of files and/or directories to be synchronized, separated by ';'. Directories must end with a '/'. This can also contain commands, all commands start with "?" (see comments below)
PFNGALLERYSYNCNOTIFY
[in]:
Notify function for intermediate status
pUserNotifyData
[in]:
User data to send to notify function
Interface
Prototype
  •    int IGallery_Sync(IGallery *pif,
                         const char *pszURLs,
                         PFNGALLERYSYNCNOTIFY pfnNotify,
                         void *pUserNotifyData);
    
Return
  • int: Error code
Comments
If NULL is passed for pszURLs, this will sync gallery default directories. pszURLs can also contain commands to pause or resume the current sync in progress: - AEEGALLERY_SYNC_PAUSE_CMD "?pause" - AEEGALLERY_SYNC_PAUSE_NOCOMMIT_CMD "?pause_nocommit" - AEEGALLERY_SYNC_RESUME_CMD "?resume"