ResourceList Event
Fired for each resource listed.
Syntax
virtual int FireResourceList(OneDriveResourceListEventParams *e);
typedef struct {
char* Id;
char* Name;
char* Description;
int ResourceType;
char* ModifiedDate;
ns_int64 *pSize;
int reserved;
} OneDriveResourceListEventParams;
Remarks
This event fires with information about each resource listed when calling ListResources, GetResourceInfo, and Search.
Id is the Id of the resource.
Name is the name of the resource.
Description is a short description of the resource.
ResourceType indicates whether the resource is a file or folder. Possible value are:
0 | File |
1 | Folder |
Size holds the size of the current resource in bytes. If the current resource is a folder this returns the total size of all files in the folder and sub-folders.