Skip to main content
Table of Contents

TTMSFNCCustomCloudBox.GetFolderInfoPromise Method

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

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCustomCloudBox

Overloads

Overload 1

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

FMX.TMSFNCCloudBox.hppPascalC++
function GetFolderInfoPromise(const AFolderName: string): IPromise<TVoid>; overload;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetFolderInfoPromise(const System::UnicodeString AFolderName)/* overload */;

Parameters

Name Description
AFolderName Folder name or path to retrieve metadata for.

Returns

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

Overload 2

Requests folder metadata asynchronously and stores child items in the supplied collection.

FMX.TMSFNCCloudBox.hppPascalC++
function GetFolderInfoPromise(const AFolderName: string; AItems: TTMSFNCCloudBoxItems): IPromise<TVoid>; overload;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetFolderInfoPromise(const System::UnicodeString AFolderName, TTMSFNCCloudBoxItems* AItems)/* overload */;

Parameters

Name Description
AFolderName Folder name or path to retrieve metadata for.
AItems Collection that receives the folder items.

Returns

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