EMUserInfoManager class Null safety

Constructors

EMUserInfoManager()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearUserInfoCache() → void
fetchOwnInfo({int expireTime = 3600}) → Future<EMUserInfo?>
fetchUserInfoByIdWithExpireTime(List<String> userIds, {int expireTime = 3600}) → Future<Map<String, EMUserInfo>>
获取指定id的用户的用户属性, userIds 需要获取的环信id; expireTime 过期时间,单位秒。如果之前获取过, 如果距当前时间小于过期时间则不会重复获取
fetchUserInfoByIdWithType(List<String> userIds, List<EMUserInfoType> types, {int expireTime = 3600}) → Future<Map<String, EMUserInfo>>
获取指定id的用户的指定类型的用户属性 userIds 需要获取的环信id; types 需要获取的属性 expireTime 过期时间,单位秒。如果之前获取过, 如果距当前时间小于过期时间则不会重复获取
@Deprecated('Use userInfoManager.fetchUserInfoByIdWithExpireTime() method instead.')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited
updateOwnUserInfo(EMUserInfo userInfo) → Future<EMUserInfo?>
updateOwnUserInfoWithType(EMUserInfoType type, String userInfoValue) → Future<EMUserInfo?>
更新自己用户属性

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Static Methods

userInfoTypeFromInt(int type) EMUserInfoType