IOnlinePresence::SetPresence

Starts an async task that sets presence information for the user.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlinePresenceInterface.h"

Syntax

void SetPresence
(
    const FUniqueNetId & User,
    const FOnlineUserPresenceStatus & Status,
    const FOnPresenceTaskCompleteDelegate & Delegate
)

Remarks

Starts an async task that sets presence information for the user.

Parameters

Parameter

Description

User

The unique id of the user whose presence is being set.

Status

The collection of state and key/value pairs to set as the user's presence data.

Delegate

The delegate to be executed when the potentially asynchronous set 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