Navigation
API > API/Runtime > API/Runtime/XMPP
References
| Module | XMPP |
| Header | /Engine/Source/Runtime/Online/XMPP/Public/XmppPresence.h |
| Include | #include "XmppPresence.h" |
Syntax
class IXmppPresence
Remarks
Interface for updating presence for current user and for obtaining updates of roster members
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FXmppUserPresence & | GetPresence () |
Get the last cached presence for the current user | |
| void | GetRosterMembers
(
TArray< FXmppUserJid >& OutMembers |
Obtain a list of current roster member id | |
| TArray< TSharedPtr< FXmppUserPresence > > | GetRosterPresence
(
const FString& UserId |
Obtain presence info for a given roster member id | |
| FOnXmppPresenceReceived & | |||
| bool | QueryPresence
(
const FString& UserId |
Kick off a query for presence data for a given user | |
| bool | UpdatePresence
(
const FXmppUserPresence& Presence |
Send a presence update to Xmpp service for current user logged in with the connection. |
Typedefs
| Name | Description |
|---|---|
| FOnXmppPresenceReceived | Delegate callback for when new presence data is received for a given user. |