FMX.Platform.TPlatformServices.AddPlatformService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddPlatformService(const AServiceGUID: TGUID; const AService: IInterface);

C++

void __fastcall AddPlatformService(const GUID &AServiceGUID, const System::_di_IInterface AService);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform TPlatformServices

Description

Adds a platform service to the internal services list.

The AddPlatformService method is used in order to add a platform service to the internal services list. The AServiceGUID parameter specifies the GUID of the interface that defines the service which is given through the AService parameter.

See Also