Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Interface class for getting and setting rich presence information.
| Name | IOnlinePresence |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePresenceInterface.h |
| Include Path | #include "Interfaces/OnlinePresenceInterface.h" |
Syntax
class IOnlinePresence
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IOnlinePresence() |
Virtual destructor to force proper child cleanup | Interfaces/OnlinePresenceInterface.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnPresenceTaskCompleteDelegate | TBaseDelegate_TwoParams< void, const class FUniqueNetId &, const bool > | Delegate executed when setting or querying presence for a user has completed. | Interfaces/OnlinePresenceInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnPresenceArrayUpdatedDelegates | FOnPresenceArrayUpdated | Delegate executed when the array of presence data for a user changes. | Interfaces/OnlinePresenceInterface.h | |
| OnPresenceReceivedDelegates | FOnPresenceReceived | Delegate executed when new presence data is available for a user. | Interfaces/OnlinePresenceInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDelegateHandle AddOnPresenceArrayUpdatedDelegate_Handle
(
const FOnPresenceArrayUpdatedDelegate& Delegate |
Interfaces/OnlinePresenceInterface.h | ||
virtual FDelegateHandle AddOnPresenceReceivedDelegate_Handle
(
const FOnPresenceReceivedDelegate& Delegate |
Interfaces/OnlinePresenceInterface.h | ||
virtual void ClearOnPresenceArrayUpdatedDelegate_Handle
(
FDelegateHandle& Handle |
Interfaces/OnlinePresenceInterface.h | ||
virtual void ClearOnPresenceArrayUpdatedDelegates
(
FDelegateUserObject Object |
Interfaces/OnlinePresenceInterface.h | ||
virtual void ClearOnPresenceReceivedDelegate_Handle
(
FDelegateHandle& Handle |
Interfaces/OnlinePresenceInterface.h | ||
virtual void ClearOnPresenceReceivedDelegates
(
FDelegateUserObject Object |
Interfaces/OnlinePresenceInterface.h | ||
EOnlineCachedResult::Type GetCachedPresence
(
const FUniqueNetId& User, |
Gets the cached presence information for a user. | Interfaces/OnlinePresenceInterface.h | |
EOnlineCachedResult::Type GetCachedPresenceForApp
(
const FUniqueNetId& LocalUserId, |
Gets the cached presence information for a user. | Interfaces/OnlinePresenceInterface.h | |
void QueryPresence
(
const FUniqueNetId& User, |
Starts an async operation that will update the cache with presence data from all users in the Users array. | Interfaces/OnlinePresenceInterface.h | |
virtual void QueryPresence
(
const FUniqueNetId& LocalUserId, |
Starts an async operation that will update the cache with presence data from all users in the Users array. | Interfaces/OnlinePresenceInterface.h | |
void SetPresence
(
const FUniqueNetId& User, |
Starts an async task that sets presence information for the user. | Interfaces/OnlinePresenceInterface.h | |
virtual void SetPresence
(
const FUniqueNetId& User, |
Starts an async task that sets presence information for the user. | Interfaces/OnlinePresenceInterface.h | |
virtual void TriggerOnPresenceArrayUpdatedDelegates
(
const FUniqueNetId& Param1, |
Interfaces/OnlinePresenceInterface.h | ||
virtual void TriggerOnPresenceReceivedDelegates
(
const FUniqueNetId& Param1, |
Interfaces/OnlinePresenceInterface.h |