public class EOS_SessionModification
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
EOS_SessionModification() |
EOS_SessionModification(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_EResult |
addAttribute(EOS_SessionModification_AddAttributeOptions options)
Associate an attribute with this session
An attribute is something that may or may not be advertised with the session.
|
void |
close() |
void |
release()
Release the memory associated with session modification.
|
EOS_EResult |
removeAttribute(EOS_SessionModification_RemoveAttributeOptions options)
Remove an attribute from this session
|
EOS_EResult |
setAllowedPlatformIds(EOS_SessionModification_SetAllowedPlatformIdsOptions options)
Set the Allowed Platform IDs for the session.
|
EOS_EResult |
setBucketId(EOS_SessionModification_SetBucketIdOptions options)
Set the bucket ID associated with this session.
|
EOS_EResult |
setHostAddress(EOS_SessionModification_SetHostAddressOptions options)
Set the host address associated with this session
Setting this is optional, if the value is not set the SDK will fill the value in from the service.
|
EOS_EResult |
setInvitesAllowed(EOS_SessionModification_SetInvitesAllowedOptions options)
Allows enabling or disabling invites for this session.
|
EOS_EResult |
setJoinInProgressAllowed(EOS_SessionModification_SetJoinInProgressAllowedOptions options)
Set whether or not join in progress is allowed
Once a session is started, it will no longer be visible to search queries unless this flag is set or the session returns to the pending or ended state
|
EOS_EResult |
setMaxPlayers(EOS_SessionModification_SetMaxPlayersOptions options)
Set the maximum number of players allowed in this session.
|
EOS_EResult |
setPermissionLevel(EOS_SessionModification_SetPermissionLevelOptions options)
Set the session permissions associated with this session.
|
public EOS_SessionModification(com.sun.jna.Pointer address)
public EOS_SessionModification()
public EOS_EResult setBucketId(EOS_SessionModification_SetBucketIdOptions options)
options - Options associated with the bucket ID of the sessionEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_InvalidParameters if the bucket ID is invalid or nullEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setHostAddress(EOS_SessionModification_SetHostAddressOptions options)
options - Options associated with the host address of the sessionEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_InvalidParameters if the host ID is an empty stringEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setPermissionLevel(EOS_SessionModification_SetPermissionLevelOptions options)
options - Options associated with the permission level of the sessionEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setJoinInProgressAllowed(EOS_SessionModification_SetJoinInProgressAllowedOptions options)
options - Options associated with setting the join in progress state the sessionEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setMaxPlayers(EOS_SessionModification_SetMaxPlayersOptions options)
options - Options associated with max number of players in this sessionEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setInvitesAllowed(EOS_SessionModification_SetInvitesAllowedOptions options)
options - Options associated with invites allowed flag for this session.EOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult setAllowedPlatformIds(EOS_SessionModification_SetAllowedPlatformIdsOptions options)
options - Options associated with allowed Platform IDs for this session.EOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectEOS_EResult.EOS_InvalidParameters if the attribution is missing information or otherwise invalidpublic EOS_EResult addAttribute(EOS_SessionModification_AddAttributeOptions options)
options - Options to set the attribute and its advertised stateEOS_EResult.EOS_Success if setting this parameter was successfulEOS_EResult.EOS_InvalidParameters if the attribution is missing information or otherwise invalidEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic EOS_EResult removeAttribute(EOS_SessionModification_RemoveAttributeOptions options)
options - Specify the key of the attribute to removeEOS_EResult.EOS_Success if removing this parameter was successfulEOS_EResult.EOS_InvalidParameters if the key is null or emptyEOS_EResult.EOS_IncompatibleVersion if the API version passed in is incorrectpublic void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception