ResourceList Event
Fired for each resource listed.
Syntax
typedef void __fastcall (__closure *TicsOneDriveResourceListEvent)(System::TObject* Sender, TicsOneDriveResourceListEventParams *e);__property TicsOneDriveResourceListEvent OnResourceList = {read=FOnResourceList, write=FOnResourceList};
typedef struct {
String Id;
String Name;
String Description;
int ResourceType;
String ModifiedDate;
__int64 Size;
} TicsOneDriveResourceListEventParams;
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.