getLoginStatus method Null safety
Get the login status
If the user is already logged in and logging in, do not call the login interface frequently to log in.
Back
Login Status
V2TIM_STATUS_LOGINED Logged in
V2TIM_STATUS_LOGINING Login in progress
V2TIM_STATUS_LOGOUT No login
Note: web does not support this interface
Implementation
Future<V2TimValueCallback<int>> getLoginStatus() async {
return ImFlutterPlatform.instance.getLoginStatus();
}