Skip to main content
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

FMX.TMSFNCCloudBox.hppPascalC++
function GetFolderListHierarchicalPromise(AFolder: TTMSFNCCloudItem; AIsRootFolder: Boolean = False; ADataObject: TObject = nil): IPromise<TVoid>; override;
virtual System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetFolderListHierarchicalPromise(TTMSFNCCloudItem* AFolder, bool AIsRootFolder = false, System::TObject* ADataObject = (System::TObject*)(0x0));

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.