Choose your implementation method:
This function is part of the Lobby Interface.
Get the current connection status of the RTC Room for a lobby.
The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep
them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting
from the RTC room when a lobby is left or disconnected.
This function will only succeed when called on a lobby the local user is currently a member of.
Return Value
EOS_Success if we are connected to the specified lobby, the input options and parameters were valid and we were able to write to bOutIsConnected successfully.
EOS_NotFound if the lobby doesn't exist
EOS_Disabled if the lobby exists, but did not have the RTC Room feature enabled when created
EOS_InvalidParameters if bOutIsConnected is NULL, or any other parameters are NULL or invalid
See Also
EOS_Lobby_AddNotifyRTCRoomConnectionChanged
Parameters
EOS_Lobby_IsRTCRoomConnected
Parameter Type And Name
|
Usage Information
|
EOS_HLobby Handle
|
|
const EOS_Lobby_IsRTCRoomConnectedOptions* Options
|
Structure containing information about the lobby to query the RTC Room connection status for
|
EOS_Bool* bOutIsConnected
|
If the result is EOS_Success, this will be set to EOS_TRUE if we are connected, or EOS_FALSE if we are not yet connected.
|
This function is part of the Lobby Interface.
Get the current connection status of the RTC Room for a lobby.
The RTC Room connection status is independent of the lobby connection status, however the lobby system will attempt to keep
them consistent, automatically connecting to the RTC room after joining a lobby which has an associated RTC room and disconnecting
from the RTC room when a lobby is left or disconnected.
This function will only succeed when called on a lobby the local user is currently a member of.
{Result.NotFound} if the lobby doesn't exist
{Result.Disabled} if the lobby exists, but did not have the RTC Room feature enabled when created
{Result.InvalidParameters} if bOutIsConnected is NULL, or any other parameters are NULL or invalid
Return Value
{Result.Success} if we are connected to the specified lobby, the input options and parameters were valid and we were able to write to bOutIsConnected successfully.
See Also
{AddNotifyRTCRoomConnectionChanged}
Parameters
Lobby.LobbyInterface.IsRTCRoomConnected
Parameter Type And Name
|
Usage Information
|
IsRTCRoomConnectedOptions options
|
Structure containing information about the lobby to query the RTC Room connection status for
|
bool bOutIsConnected
|
If the result is EOS_Success, this will be set to EOS_TRUE if we are connected, or EOS_FALSE if we are not yet connected.
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no