IPortalServiceLocator::GetService

Get a service of the specified type.

Windows
MacOS
Linux

References

Module

PortalServices

Header

/Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h

Include

#include "IPortalServiceLocator.h"

Syntax

TSharedPtr< IPortalService > GetService
(
    const FString & ServiceName,
    const FString & ProductId
)

Remarks

Get a service of the specified type.

Returns

The service instance, or nullptr if unavailable.

Parameters

Parameter

Description

ServiceName

The name of the service type to get.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss