public class EOS_PresenceModification
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
release().| Modifier and Type | Field and Description |
|---|---|
static int |
EOS_PRESENCE_DATA_MAX_KEY_LENGTH
The maximum allowed length a data's key may be.
|
static int |
EOS_PRESENCE_DATA_MAX_KEYS
The maximum of allowed individual pieces of data a user may have.
|
static int |
EOS_PRESENCE_DATA_MAX_VALUE_LENGTH
The maximum allowed length a data's value may be.
|
static int |
EOS_PRESENCE_RICH_TEXT_MAX_VALUE_LENGTH
The maximum allowed length a user's rich text string may be.
|
static int |
EOS_PRESENCEMODIFICATION_JOININFO_MAX_LENGTH |
| Constructor and Description |
|---|
EOS_PresenceModification() |
EOS_PresenceModification(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EOS_EResult |
deleteData(EOS_PresenceModification_DeleteDataOptions options)
Removes one or more rows of user-defined presence data for a local user.
|
void |
release()
Release the memory associated with an EOS_HPresenceModification handle.
|
EOS_EResult |
setData(EOS_PresenceModification_SetDataOptions options)
Modifies one or more rows of user-defined presence data for a local user.
|
EOS_EResult |
setJoinInfo(EOS_PresenceModification_SetJoinInfoOptions options)
Sets your new join info custom game-data string.
|
EOS_EResult |
setRawRichText(EOS_PresenceModification_SetRawRichTextOptions options)
Modifies a user's Rich Presence string to a new state.
|
EOS_EResult |
setStatus(EOS_PresenceModification_SetStatusOptions options)
Modifies a user's online status to be the new state.
|
public static final int EOS_PRESENCE_DATA_MAX_KEYS
public static final int EOS_PRESENCE_DATA_MAX_KEY_LENGTH
public static final int EOS_PRESENCE_DATA_MAX_VALUE_LENGTH
public static final int EOS_PRESENCE_RICH_TEXT_MAX_VALUE_LENGTH
public static final int EOS_PRESENCEMODIFICATION_JOININFO_MAX_LENGTH
public EOS_PresenceModification(com.sun.jna.Pointer address)
public EOS_PresenceModification()
public EOS_EResult setStatus(EOS_PresenceModification_SetStatusOptions options)
options - Object containing properties related to setting a user's StatusEOS_EResult.EOS_Success if modification was added successfully, otherwise an error code related to the problempublic EOS_EResult setRawRichText(EOS_PresenceModification_SetRawRichTextOptions options)
options - Object containing properties related to setting a user's RichText stringEOS_EResult.EOS_Success if modification was added successfully, otherwise an error code related to the problemEOS_PRESENCE_RICH_TEXT_MAX_VALUE_LENGTHpublic EOS_EResult setData(EOS_PresenceModification_SetDataOptions options)
options - Object containing an array of new presence data.EOS_EResult.EOS_Success if modification was added successfully, otherwise an error code related to the problemEOS_PRESENCE_DATA_MAX_KEYS,
EOS_PRESENCE_DATA_MAX_KEY_LENGTH,
EOS_PRESENCE_DATA_MAX_VALUE_LENGTHpublic EOS_EResult deleteData(EOS_PresenceModification_DeleteDataOptions options)
options - Object containing an array of new presence data.EOS_EResult.EOS_Success if modification was added successfully, otherwise an error code related to the problemEOS_PRESENCE_DATA_MAX_KEYS,
EOS_PRESENCE_DATA_MAX_KEY_LENGTH,
EOS_PRESENCE_DATA_MAX_VALUE_LENGTHpublic EOS_EResult setJoinInfo(EOS_PresenceModification_SetJoinInfoOptions options)
options - Object containing a join info string and associated user dataEOS_EResult.EOS_Success if modification was added successfully, otherwise an error code related to the problemEOS_PRESENCEMODIFICATION_JOININFO_MAX_LENGTHpublic void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception