ResourceList Event
Fires once for each resource when ListResources is called.
Syntax
typedef void __fastcall (__closure *TicsGoogleDriveResourceListEvent)(System::TObject* Sender, TicsGoogleDriveResourceListEventParams *e);__property TicsGoogleDriveResourceListEvent OnResourceList = {read=FOnResourceList, write=FOnResourceList};
typedef struct {
String Id;
String ETag;
String Title;
String Description;
int ResourceType;
String Extension;
String ModifiedDate;
__int64 Size;
} TicsGoogleDriveResourceListEventParams;
Remarks
This event fires once for each resource returned when ListResources is called.
Id is the Id of the resource.
ETag is the ETag of the resource.
Title holds the resource's title.
Description holds a short description of the resource (if any).
ResourceType identifies if the resource is a file or folder. Possible values are:
0 | A file |
1 | A folder |
Extension is the file extension.
ModifiedData holds a DateTime string representing the modified date of the resource. This is a combined date-time value (formatted according to RFC 3339).
Size holds the size of the file in bytes. This is only applicable to files.