![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <XmppPresence.h>
Public Member Functions | |
| virtual | ~IXmppPresence () |
| virtual bool | UpdatePresence (const FXmppUserPresence &Presence)=0 |
| virtual const FXmppUserPresence & | GetPresence () const =0 |
| virtual bool | QueryPresence (const FString &UserId)=0 |
| virtual void | GetRosterMembers (TArray< FXmppUserJid > &OutMembers)=0 |
| virtual TArray< TSharedPtr< FXmppUserPresence > > | GetRosterPresence (const FString &UserId)=0 |
| DECLARE_MULTICAST_DELEGATE_ThreeParams (FOnXmppPresenceReceived, const TSharedRef< IXmppConnection > &, const FXmppUserJid &, const TSharedRef< FXmppUserPresence > &) | |
| virtual FOnXmppPresenceReceived & | OnReceivePresence ()=0 |
Interface for updating presence for current user and for obtaining updates of roster members
|
inlinevirtual |
destructor
| IXmppPresence::DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FOnXmppPresenceReceived | , |
| const TSharedRef< IXmppConnection > & | , | ||
| const FXmppUserJid & | , | ||
| const TSharedRef< FXmppUserPresence > & | |||
| ) |
Delegate callback for when new presence data is received for a given user. Can also obtain cached data via GetRosterPresence()
| Connection | the xmpp connection this message was received on |
| UserId | roster member or current user that updated |
| Presence | presence data that was received |
|
pure virtual |
Get the last cached presence for the current user
|
pure virtual |
Obtain a list of current roster member id
| OutMembers | [out] members to update |
|
pure virtual |
Obtain presence info for a given roster member id
|
pure virtual |
Kick off a query for presence data for a given user
|
pure virtual |
Send a presence update to Xmpp service for current user logged in with the connection. Also updates cached copy of presence data
| Presence | status data to update |