Table of Contents

ITMSFNCCustomCloudTranslation.GetDetectPostData Method

Builds the request body for a language-detection request.

API unit family: TMSFNCCloudTranslation Declaring type: ITMSFNCCustomCloudTranslation

Syntax

function GetDetectPostData(AText: TStringList; PostDataBuilder: TTMSFNCCloudBaseRequestPostDataBuilder): string;

Parameters

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

Returns

The serialized post data.