IOnlinePresence::GetCachedPresenceForApp

Gets the cached presence information for a user.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePresenceInterface.h

Include

#include "Interfaces/OnlinePresenceInterface.h"

Syntax

EOnlineCachedResult::Type GetCachedPresenceForApp
(
    const FUniqueNetId & LocalUserId,
    const FUniqueNetId & User,
    const FString & AppId,
    TSharedPtr< FOnlineUserPresence > & OutPresence
)

Remarks

Gets the cached presence information for a user.

Returns

Whether the data was found or not.

Parameters

Parameter

Description

LocalUserId

The unique id of the local user

User

The unique id of the user from which to get presence information.

AppId

The id of the application you want to get the presence of

OutPresence

If found, a shared pointer to the cached presence data for User will be stored here.

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