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

template<typename ServiceType>
TSharedPtr< ServiceType > GetService
(
    const FString & ProductId
)

Remarks

Get a service of the specified type.

Returns

The service instance, or nullptr if unavailable.

Parameters

Parameter

Description

ServiceType

The type of service to get.

See Also

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