Skip to main content
Table of Contents

TTMSFNCCloudBox.GetFolderListPromise Method

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

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCloudBox Inherited from: TTMSFNCCustomCloudBox

Syntax

FMX.TMSFNCCloudBox.hppPascalC++
function GetFolderListPromise(AFolder: TTMSFNCCloudItem = nil): IPromise<TVoid>; override;
virtual System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetFolderListPromise(TTMSFNCCloudItem* AFolder = (TTMSFNCCloudItem*)(0x0));

Parameters

Name Description
AFolder Folder to list. Pass nil to list the root folder.

Returns

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