OnLoginResultType typedef
OnLoginResultType =
void Function(String uid, LoginErrorCode errorCode, int elapsed)
uid
: ID of the logged-in user.
errorCode
: Login result.
elapsed
: The time taken from calling RTCVideo.login to the result being returned.
Implementation
typedef OnLoginResultType = void Function(
String uid, LoginErrorCode errorCode, int elapsed);