lemon97213
(Shing Fung Lo)
February 16, 2023, 4:19am
1
HHi ,
I am using the mobile SDK iOS version and developing with Swift code. I found that the return of waitingRoomService.put(inWaitingRoom:) changed.
In SDK version 5.11.3 , it returns a boolean true/false representing success or not.
In SDK version 5.13 and above, it returns a MobileRTCSDKError(rawValue: ) , 0 should mean success, and 1 is failed.
Is there any other return I need to handle? Cause I can’t find the error reference on the SDK website.
Thank you so much.
Best Regards,
Alex LO
elaine.ku
(Elaine)
February 18, 2023, 1:01am
3
Hi @lemon97213 ,
Thank you for posting on our developer’s forum.
We only have three different return values for the function “putInWaitingRoom”. MobileRTCSDKError_Success, MobileRTCSDKError_WrongUsage & MobileRTCSDKError_InternalError. We can treat the success return as true and others are false.
Thank you
Elaine
lemon97213
(Shing Fung Lo)
February 20, 2023, 6:29am
4
Hi @elaine.ku
Thank you so much. Your answer is very helpful.
Alex
system
(system)
Closed
March 22, 2023, 4:30pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.