Skip to main content
Table of Contents

TTMSFNCCustomCloudGoogleGmail.GetAttachmentPromise Method

Downloads the data of the specified attachment and returns a promise that resolves when the request completes.

API unit family: TMSFNCCloudGoogleGmail Declaring type: TTMSFNCCustomCloudGoogleGmail

Syntax

FMX.TMSFNCCloudGoogleGmail.hppPascalC++
function GetAttachmentPromise(AAttachment: TTMSFNCCloudGoogleGmailMessageAttachment): IPromise<TVoid>;
System::DelphiInterface<IPromise__1<TVoid*> > __fastcall GetAttachmentPromise(TTMSFNCCloudGoogleGmailMessageAttachment* AAttachment);

Parameters

Name Description
AAttachment Attachment whose data is downloaded.

Returns

A promise that resolves when the attachment data has been downloaded.