public class EOS_PresenceModification
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
release().| 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.
|
EOS_EResult |
setTemplateData(EOS_PresenceModification_SetTemplateDataOptions options)
Adds variable data to a Presence Update template much like a format-arg would.
|
EOS_EResult |
setTemplateId(EOS_PresenceModification_SetTemplateIdOptions options)
Modifies a user's Rich Presence string to a new state using a localized template.
|
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_Defines.EOS_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_Defines.EOS_PRESENCE_DATA_MAX_KEYS,
EOS_Defines.EOS_PRESENCE_DATA_MAX_KEY_LENGTH,
EOS_Defines.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_Defines.EOS_PRESENCE_DATA_MAX_KEYS,
EOS_Defines.EOS_PRESENCE_DATA_MAX_KEY_LENGTH,
EOS_Defines.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_Defines.EOS_PRESENCEMODIFICATION_JOININFO_MAX_LENGTHpublic EOS_EResult setTemplateId(EOS_PresenceModification_SetTemplateIdOptions options)
options - Object containing the TemplateId for a pre-cofnigured a Localized Presence TemplateEOS_EResult.EOS_Success if the value was updated successfully, otherwise an error code related to the problempublic EOS_EResult setTemplateData(EOS_PresenceModification_SetTemplateDataOptions options)
options - Object containing properties related to setting a named variable value on a Localized Presence TemplateEOS_EResult.EOS_Success if the value was updated successfully, otherwise an error code related to the problempublic void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception