ResourceList Event
Fired for each resource listed.
Syntax
box.on('ResourceList', [callback])
Callback
The 'callback' is called when the 'ResourceList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.deleted e.ETag e.id e.name e.revision e.resourceType
Remarks
This event fires about each resource listed when calling ListResources, GetResourceInfo, and Search.
Deleted indicates whether the resource is deleted.
ETag is the ETag of the resource.
Id is the resource Id.
Name is the name of the resource.
Revision is the current revision.
ResourceType indicates whether the resource is a file or folder. Possible values are:
0 | File |
1 | Folder |