Skip to main content
Table of Contents

TTMSFNCCloudTranslationPlatformServices.SupportsPlatformService Method

Returns whether a service is registered under the given identifier.

API unit family: TMSFNCCloudTranslation Declaring type: TTMSFNCCloudTranslationPlatformServices

Overloads

Overload 1

Returns whether a service is registered under the given identifier.

FMX.TMSFNCCloudTranslation.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID)/* overload */;

Parameters

Name Description
AServiceGUID Identifier of the service to check.

Returns

True when a matching service is registered.

Overload 2

Returns whether a service is registered under the given identifier and retrieves it.

FMX.TMSFNCCloudTranslation.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID, System::_di_IInterface &AService)/* overload */;

Parameters

Name Description
AServiceGUID Identifier of the service to check.
AService Receives the registered service interface when found.

Returns

True when a matching service is registered.