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" |
template<typename ServiceType>
TSharedPtr< ServiceType > GetService
&40;
const FString & ProductId
&41;
Remarks
Get a service of the specified type. The service instance, or nullptr if unavailable.
Parameters
Name | Description |
---|---|
ServiceType | The type of service to get. |