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.

function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; 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.

function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; 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.