IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

onResourceList (event)

Fires once for each resource returned when listing resources.

Syntax

- (void)onResourceList:(NSString*)name :(NSString*)path :(NSString*)share :(int)resourceType :(NSString*)modifiedTime :(long long)size :(NSString*)ETag;
func onResourceList(_ name: String, _ path: String, _ share: String, _ resourceType: Int32, _ modifiedTime: String, _ size: Int64, _ ETag: String)

Remarks

This event fires once for each resource returned when ListResources, GetFileInfo, or GetFolderInfo is called.

Name is the name of the resource.

Path is the full path of the resource (not including the share).

Share is the name of the share the resource resides in.

ResourceType reflects the resource's type. Possible values are:

0 (afrtFile) A file.
1 (afrtFolder) A folder.

ModifiedTime is the last modified time of the resource, formatted according to RFC 1123. (Note: this parameter is not populated by calls to ListResources.)

Size is the size of the file. Always 0 for folders.

ETag is the ETag of the resource. (Note: this parameter is not populated by calls to ListResources.)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 iOS Edition - Version 20.0 [Build 8265]