EOS_RTC_JoinRoom

EOS API reference page for EOS_RTC_JoinRoom

2 분 소요

This function is part of the RTC Interface.

Remarks

Use this function to join a room. This function does not need to called for the Lobby RTC Room system; doing so will return EOS_AccessDenied. The lobby system will automatically join and leave RTC Rooms for all lobbies that have RTC rooms enabled.

Parameters

EOS_RTC_JoinRoom

Parameter Type And NameUsage Information
EOS_HRTC Handle
const EOS_RTC_JoinRoomOptions* Optionsstructure containing the parameters for the operation.
void* ClientDataArbitrary data that is passed back in the CompletionDelegate
const EOS_RTC_OnJoinRoomCallback CompletionDelegatea callback that is fired when the async operation completes, either successfully or in error

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_RTC_OnJoinRoomCallback to report the results of its operation.

Callback Remarks

Callback for completion of room join request.

Callback Parameters

EOS_RTC_OnJoinRoomCallback

Parameter Type And NameUsage Information
const EOS_RTC_JoinRoomCallbackInfo* Data