Skip to main content
Table of Contents

TTMSFNCCloudDropBox.GetSharePromise Method

Promise-based variant of GetShare.

API unit family: TMSFNCCloudDropBox Declaring type: TTMSFNCCloudDropBox Inherited from: TTMSFNCCustomCloudDropBox

Syntax

FMX.TMSFNCCloudDropBox.hppPascalC++
function GetSharePromise(AItem: TTMSFNCCloudDropBoxItem): IPromise<string>;
System::DelphiInterface<IPromise__1<System::UnicodeString> > __fastcall GetSharePromise(TTMSFNCCloudDropBoxItem* AItem);

Parameters

Name Description
AItem Item to share.

Returns

A promise that resolves with the public share URL.