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