LoginServiceImpl class

Inheritance

Constructors

LoginServiceImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
isAutoLogin bool
getter/setter pair
loginStatus Stream<NIMAuthStatus>?
登录状态变更,主要用于状态同步完成回调
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ↔ NIMAuthStatus
登录状态
getter/setter pairinherited
subs List<StreamSubscription>
getter/setter pair
userInfo ↔ NIMUser?
getter/setter pairinherited

Methods

getUserInfo() Future<NIMUser?>
获取用户信息
override
loginIM(NIMLoginInfo loginInfo) Future<NIMResult<void>>
手动登录IM
override
logoutIM() Future<NIMResult<void>>
登出IM
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeUserListener() → void
setUserListener() → void
syncUserInfo(String account) Future<void>
同步用户信息,调用手动登录IM的时候会自动调用 如果使用IM的自动登录功能,成功之后可以调用此方法同步用户信息
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited