Class EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.lobby.callbackresults.EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
- Direct Known Subclasses:
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo.ByReference
,EOS_Lobby_RTCRoomConnectionChangedCallbackInfo.ByValue
@FieldOrder({"ClientData","LobbyId","LocalUserId","IsConnected","DisconnectReason"})
public class EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
extends com.sun.jna.Structure
- Since:
- 8/19/2023
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptioncom.sun.jna.Pointer
Context that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChangedIf IsConnected is EOS_FALSE, this result will be the reason we were disconnected.The new connection state of the roomThe ID of the lobby which had a RTC Room connection state changeThe Product User ID of the local user who is in the lobby and registered for notificationsFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
ClientData
public com.sun.jna.Pointer ClientDataContext that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged -
LobbyId
The ID of the lobby which had a RTC Room connection state change -
LocalUserId
The Product User ID of the local user who is in the lobby and registered for notifications -
IsConnected
The new connection state of the room -
DisconnectReason
If IsConnected is EOS_FALSE, this result will be the reason we were disconnected.EOS_EResult.EOS_Success
: The room was left locally. This may be because: the associated lobby was Left or Destroyed, the connection to the lobby was interrupted, or because the SDK is being shutdown. If the lobby connection returns (lobby did not permanently go away), we will reconnect.
EOS_EResult.EOS_NoConnection
: There was a network issue connecting to the server. We will attempt to reconnect soon.
EOS_EResult.EOS_RTC_UserKicked
: The user has been kicked by the server. We will not reconnect.
EOS_EResult.EOS_RTC_UserBanned
: The user has been banned by the server. We will not reconnect.
EOS_EResult.EOS_ServiceFailure
: A known error occurred during interaction with the server. We will attempt to reconnect soon.
EOS_EResult.EOS_UnexpectedError
: Unexpected error. We will attempt to reconnect soon.
-
-
Constructor Details
-
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
public EOS_Lobby_RTCRoomConnectionChangedCallbackInfo() -
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
public EOS_Lobby_RTCRoomConnectionChangedCallbackInfo(com.sun.jna.Pointer peer)
-