onLoginResult property

FutureOr<void> Function(String uid, LoginErrorCode errorCode, int elapsed)? onLoginResult
getter/setter pair

@detail callback @author hanchenchen.c @brief Login result callback @param uid
Login user ID @param errorCode
Login result
See LoginErrorCode{@link #LoginErrorCode}. @param elapsed
The length of time it takes from calling the login{@link #RTCEngine#login} interface to return the result.
Is in ms. @note This callback is received after login{@link #RTCEngine#login} is called

Implementation

FutureOr<void> Function(String uid, LoginErrorCode errorCode, int elapsed)?
    onLoginResult;