rtcEngine$onLoginResult$errorCode$elapsed method
FutureOr<void>
rtcEngine$onLoginResult$errorCode$elapsed(
- ByteRTCEngine engine,
- NSString uid,
- ByteRTCLoginErrorCode errorCode,
- NSInteger elapsed,
@detail callback
@author hanchenchen.c
@brief 登录结果回调
@param engine ByteRTCEngine 对象
@param uid
登录用户 ID
@param errorCode
登录结果
详见 ByteRTCLoginErrorCode{@link #ByteRTCLoginErrorCode}。
@param elapsed
从调用 login:uid:{@link #ByteRTCEngine#login:uid} 接口开始到返回结果所用时长。
单位为 ms。
@note 调用 login:uid:{@link #ByteRTCEngine#login:uid} 后,会收到此回调。
Implementation
FutureOr<void> rtcEngine$onLoginResult$errorCode$elapsed(ByteRTCEngine engine,
NSString uid, ByteRTCLoginErrorCode errorCode, NSInteger elapsed) async {}