Table of Contents

TTMSFNCCustomCloudBox.GetFolderListHierarchicalPromise Method

Lists a folder hierarchically and asynchronously and returns a promise that resolves when the request completes.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCustomCloudBox

Syntax

function GetFolderListHierarchicalPromise(AFolder: TTMSFNCCloudItem; AIsRootFolder: Boolean = False; ADataObject: TObject = nil): IPromise<TVoid>; override;

Parameters

Name Description
AFolder Folder that starts the hierarchy.
AIsRootFolder Set to True when AFolder represents the provider root.
ADataObject Optional caller-owned object associated with the request.

Returns

A promise that resolves when the hierarchical folder-list request finishes.