Skip to main content
Table of Contents

TTMSFNCCloudBasePlatformServices.SupportsPlatformService Method

Returns True when a platform service is registered under the specified GUID.

API unit family: TMSFNCCloudBase Declaring type: TTMSFNCCloudBasePlatformServices

Overloads

Overload 1

Returns True when a platform service is registered under the specified GUID.

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

Parameters

Name Description
AServiceGUID The GUID of the service to check.

Returns

True if a service for the given GUID is registered; False otherwise.

Overload 2

Returns True and sets AService when a platform service is registered under the specified GUID.

FMX.TMSFNCCloudBase.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 The GUID of the service to retrieve.
AService Set to the service interface when found; otherwise unchanged.

Returns

True if a service for the given GUID is registered; False otherwise.