@Structure.FieldOrder(value={"ClientData","LobbyId","LocalUserId","IsConnected","DisconnectReason"})
public class EOS_Lobby_RTCRoomConnectionChangedCallbackInfo
extends com.sun.jna.Structure
EOSLibrary.EOS_Lobby_AddNotifyRTCRoomConnectionChanged(host.anzo.eossdk.eos.sdk.EOS_Lobby_Interface, host.anzo.eossdk.eos.sdk.lobby.options.EOS_Lobby_AddNotifyRTCRoomConnectionChangedOptions, com.sun.jna.Pointer, host.anzo.eossdk.eos.sdk.lobby.callbacks.EOS_Lobby_OnRTCRoomConnectionChangedCallback) function.| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo.ByReference |
static class |
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo.ByValue |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.Pointer |
ClientData
Context that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged
|
EOS_EResult |
DisconnectReason
If IsConnected is EOS_FALSE, this result will be the reason we were disconnected.
|
EOS_Bool |
IsConnected
The new connection state of the room
|
java.lang.String |
LobbyId
The ID of the lobby which had a RTC Room connection state change
|
EOS_ProductUserId |
LocalUserId
The Product User ID of the local user who is in the lobby and registered for notifications
|
| Constructor and Description |
|---|
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo() |
EOS_Lobby_RTCRoomConnectionChangedCallbackInfo(com.sun.jna.Pointer peer) |
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, writeFieldpublic com.sun.jna.Pointer ClientData
public java.lang.String LobbyId
public EOS_ProductUserId LocalUserId
public EOS_Bool IsConnected
public EOS_EResult DisconnectReason
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.