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

virtual void QueryPresence
(
    const FUniqueNetId & LocalUserId,
    const TArray< FUniqueNetIdRef > & UserIds,
    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 unique id of the user initiating the query for presence information.

UserIds

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