Skip to main content
Table of Contents

TTMSFNCCustomCloudBox.GetFileInfoPromise Method

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

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCustomCloudBox

Syntax

FMX.TMSFNCCloudBox.hppPascalC++
function GetFileInfoPromise(const AFileName: string): IPromise<TVoid>;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetFileInfoPromise(const System::UnicodeString AFileName);

Parameters

Name Description
AFileName File name or path to retrieve metadata for.

Returns

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