Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

ResourceList Event

Fired for each resource listed.

Syntax

type TResourceListEvent = procedure ResourceList(Sender: TObject; const Id: String; const Name: String; const Description: String; ResourceType: Integer; const ModifiedDate: String; Size: Int64) of object;
property OnResourceList: TResourceListEvent read FOnResourceList write FOnResourceList;

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:

0File
1Folder

ModifiedDatab holds the datetime on which the item was modified. The format is ISO 8601 and is always in UTC time. For instance midnight UTC on Jan 1, 2014 would be "2014-01-01T00:00:00Z".

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.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0