Skip to main content
Table of Contents

TTMSFNCDirectionsPlatformServices.SupportsPlatformService Method

Returns whether a platform service is registered.

API unit family: TMSFNCDirections Declaring type: TTMSFNCDirectionsPlatformServices

Overloads

Overload 1

Returns whether a platform service is registered.

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

Parameters

Name Description
AServiceGUID GUID that identifies the platform service.

Returns

True when the requested service is available.

Overload 2

Returns whether a platform service is registered.

FMX.TMSFNCDirections.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 GUID that identifies the platform service.
AService Platform service interface to register or query.

Returns

True when the requested service is available.