Navigation
API > API/Runtime > API/Runtime/PortalServices > API/Runtime/PortalServices/IPortalServiceLocator
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< ServiceType > GetService
(
const FString& ProductId |
Get a service of the specified type. | IPortalServiceLocator.h | |
TSharedPtr< IPortalService > GetService
(
const FString& ServiceName, |
Get a service of the specified type. | IPortalServiceLocator.h |
GetService(const FString &)
Description
Get a service of the specified type.
| Name | GetService |
| Type | function |
| Header File | /Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h |
| Include Path | #include "IPortalServiceLocator.h" |
template<typename ServiceType>
TSharedPtr < ServiceType > GetService
(
const FString & ProductId
)
The service instance, or nullptr if unavailable.
Parameters
| Name | Remarks |
|---|---|
| ServiceType | The type of service to get. |
See Also
- GetServiceRef
GetService(const FString &, const FString &)
Description
Get a service of the specified type.
| Name | GetService |
| Type | function |
| Header File | /Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h |
| Include Path | #include "IPortalServiceLocator.h" |
TSharedPtr < IPortalService > GetService
(
const FString & ServiceName,
const FString & ProductId
)
The service instance, or nullptr if unavailable.
Parameters
| Name | Remarks |
|---|---|
| ServiceName | The name of the service type to get. |