Skip to main content
Table of Contents

TTMSFNCDirectionsPlatformServices.AddPlatformService Method

Registers a platform service interface.

API unit family: TMSFNCDirections Declaring type: TTMSFNCDirectionsPlatformServices

Syntax

FMX.TMSFNCDirections.hppPascalC++
procedure AddPlatformService(const AServiceGUID: TGUID; const AService: IInterface);
void __fastcall AddPlatformService(const GUID &AServiceGUID, const System::_di_IInterface AService);

Parameters

Name Description
AServiceGUID GUID that identifies the platform service.
AService Platform service interface to register or query.