What is the meaning of the onMobileRTCLoginReturn argument?

Description
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?
ios-mobilertc-all-5.0.24433.0616-clientlog.zip

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.

Thanks!
Michael

1 Like