IMLoginService class abstract
IM登录服务接口
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loginStatus
↔ Stream<
NIMLoginStatus> ? -
登录状态变更,主要用于状态同步完成回调
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ NIMLoginStatus
-
登录状态
getter/setter pair
- userInfo ↔ NIMUserInfo?
-
getter/setter pair
Methods
-
getUserInfo(
) → Future< NIMUserInfo?> - 获取用户信息
-
loginIM(
String accountId, String token, {NIMLoginOption? option}) → Future< NIMResult< void> > - 手动登录IM
-
logoutIM(
) → Future< NIMResult< void> > - 登出IM
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
syncUserInfo(
String account) → Future< void> - 同步用户信息,调用手动登录IM的时候会自动调用 如果使用IM的自动登录功能,成功之后可以调用此方法同步用户信息
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited