IOnlinePresence::QueryPresence

Starts an async operation that will update the cache with presence data from all users in the Users array.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlinePresenceInterface.h"

Syntax

void QueryPresence
(
    const FUniqueNetId & User,
    const FOnPresenceTaskCompleteDelegate & Delegate
)

Remarks

Starts an async operation that will update the cache with presence data from all users in the Users array. On platforms that support multiple keys, this function will query all keys.

Parameters

Parameter

Description

Users

The list of unique ids of the users to query for presence information.

Delegate

The delegate to be executed when the potentially asynchronous query operation completes.

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