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

ResourceList Event

Fired for each resource listed.

Syntax

public void fireResourceList(OnedriveResourceListEvent event);

public class OnedriveResourceListEvent {
  public String id;
  public String name;
  public String description;
  public int resourceType;
  public String modifiedDate;
  public long size;
}

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