Skip to main content
Table of Contents

ITMSFNCCustomCloudTranslation.GetDetectPostData Method

Builds the request body for a language-detection request.

API unit family: TMSFNCCloudTranslation Declaring type: ITMSFNCCustomCloudTranslation

Syntax

FMX.TMSFNCCloudTranslation.hppPascalC++
function GetDetectPostData(AText: TStringList; PostDataBuilder: TTMSFNCCloudBaseRequestPostDataBuilder): string;
virtual System::UnicodeString __fastcall GetDetectPostData(System::Classes::TStringList* AText, TTMSFNCCloudBaseRequestPostDataBuilder* PostDataBuilder) = 0;

Parameters

Name Description
AText Text lines to detect the language of.
PostDataBuilder Builder used to compose the request body.

Returns

The serialized post data.