Skip to main content
Table of Contents

TTMSFNCCustomCloudBox.GetSharePromise Method

Requests a share URL for an item asynchronously and returns a promise that resolves with the share URL.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCustomCloudBox

Syntax

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

Parameters

Name Description
AItem Item whose share URL is requested.

Returns

A promise that resolves with the share URL string.