pub type EOS_RTC_JoinRoomCallbackInfo = _tagEOS_RTC_JoinRoomCallbackInfo;Expand description
This struct is passed in with a call to EOS_RTC_OnJoinRoomCallback.
Aliased Type§
#[repr(C)]pub struct EOS_RTC_JoinRoomCallbackInfo {
pub ResultCode: i32,
pub ClientData: *mut c_void,
pub LocalUserId: *mut EOS_ProductUserIdDetails,
pub RoomName: *const u8,
pub RoomOptionsCount: u32,
pub RoomOptions: *const _tagEOS_RTC_Option,
}Fields§
§ResultCode: i32This returns: EOS_Success if the channel was successfully joined. EOS_NoConnection: unable to connect to RTC servers (retryable). EOS_InvalidAuth: if the token is invalid (not retryable). EOS_RTC_TooManyParticipants: if the room cannot accept more participants (not retryable). EOS_AccessDenied: if the room name belongs to the Lobby voice system (not retryable). EOS_UnexpectedError otherwise (retryable).
ClientData: *mut c_voidClient-specified data passed into EOS_RTC_JoinRoom.
LocalUserId: *mut EOS_ProductUserIdDetailsThe Product User ID of the user who initiated this request.
RoomName: *const u8The room the user was trying to join.
RoomOptionsCount: u32The room option items count.
RoomOptions: *const _tagEOS_RTC_OptionThe room option items.