FMX.Platform.TPlatformServices.GetPlatformService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPlatformService(const AServiceGUID: TGUID): IInterface;

C++

System::_di_IInterface __fastcall GetPlatformService(const GUID &AServiceGUID);

Properties

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

Description

Returns a platform service from the internal services list, based on the given service interface GUID.

The GetPlatformService method is used in order to retrieve a platform service from the internal services list. The AServiceGUID parameter specifies the GUID of the interface that defines the service you want to retrieve.

See Also