Navigation
API > API/Runtime > API/Runtime/PortalServices > API/Runtime/PortalServices/IPortalServiceLocator > API/Runtime/PortalServices/IPortalServiceLocator/GetService
References
| Module | PortalServices |
| Header | /Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h |
| Include | #include "IPortalServiceLocator.h" |
TSharedPtr< IPortalService > GetService
&40;
const FString & ServiceName,
const FString & ProductId
&41;
Remarks
Get a service of the specified type. The service instance, or nullptr if unavailable.
Parameters
| Name | Description |
|---|---|
| ServiceName | The name of the service type to get. |