public class EOS_ActiveSession
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
EOS_ActiveSession() |
EOS_ActiveSession(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EOS_ActiveSession_Info |
copyInfo(EOS_ActiveSession_CopyInfoOptions options)
EOS_ActiveSession_CopyInfo is used to immediately retrieve a copy of active session information
If the call returns an EOS_Success result, the out parameter, OutActiveSessionInfo, must be passed to EOS_ActiveSession_Info_Release to release the memory associated with it.
|
EOS_ProductUserId |
getRegisteredPlayerByIndex(EOS_ActiveSession_GetRegisteredPlayerByIndexOptions options)
EOS_ActiveSession_GetRegisteredPlayerByIndex is used to immediately retrieve individual players registered with the active session.
|
int |
getRegisteredPlayerCount(EOS_ActiveSession_GetRegisteredPlayerCountOptions options)
Get the number of registered players associated with this active session
|
void |
release()
Release the memory associated with an active session.
|
public EOS_ActiveSession(com.sun.jna.Pointer address)
public EOS_ActiveSession()
public EOS_ActiveSession_Info copyInfo(EOS_ActiveSession_CopyInfoOptions options) throws EOSException
options - Structure containing the input parametersEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSIncompatibleVersionException - if the API version passed in is incorrectEOSExceptionEOS_ActiveSession_Info,
EOS_ActiveSession_CopyInfoOptions,
EOS_ActiveSession_Info.release()public int getRegisteredPlayerCount(EOS_ActiveSession_GetRegisteredPlayerCountOptions options)
options - the options associated with retrieving the registered player countpublic EOS_ProductUserId getRegisteredPlayerByIndex(EOS_ActiveSession_GetRegisteredPlayerByIndexOptions options)
options - Structure containing the input parametersgetRegisteredPlayerCount(EOS_ActiveSession_GetRegisteredPlayerCountOptions),
EOS_ActiveSession_GetRegisteredPlayerByIndexOptionspublic void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception