What is the meaning of the onMobileRTCLoginReturn argument?

Users log in using their Zoom account.
The login result can be found in the returnValue argument of the onMobileRTCLoginReturn method.
I would like to teach the user the appropriate response when login fails.
Please tell me the meaning of the returnValue value when login fails.

Which version?

To Reproduce(If applicable)

- (void)onMobileRTCLoginReturn:(NSInteger)returnValue
    if (returnValue == MobileRTCAuthError_Success) {
        // OK
    } else {
        // Why login failed

Hey @t.yamamoto

Thanks for using the dev forum.

The returnValue param represents the error code of the call. The list of error codes can be found here: https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/resource/error-codes

The most common error for this call is 1002, which represents an incorrect password.


1 Like