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

function GetFolderListPromise(AFolder: TTMSFNCCloudItem = nil): IPromise<TVoid>; override;

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.