UserServicePlatform class abstract

Inheritance

Constructors

UserServicePlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
onBlackListChanged StreamController<void>
final
onFriendAddedOrUpdated StreamController<List<NIMFriend>>
final
onFriendDeleted StreamController<List<String>>
final
onMuteListChanged StreamController<NIMMuteListChangedNotify>
final
onUserInfoChange StreamController<List<NIMUser>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
no setterinherited

Methods

ackAddFriend(String userId, bool isAgree, String? idServer) Future<NIMResult<void>>
addFriend(String userId, String? message, NIMVerifyType verifyType) Future<NIMResult<void>>
addToBlackList(String userId) Future<NIMResult<void>>
deleteFriend(String userId, bool includeAlias) Future<NIMResult<void>>
fetchUserInfoList(List<String> userId) Future<NIMResult<List<NIMUser>>>
getAllUserInfoAndroid() Future<NIMResult<List<NIMUser>>>
getBlackList() Future<NIMResult<List<String>>>
getCurrentAccount() Future<NIMResult<String?>>
getFriend(String userId) Future<NIMResult<NIMFriend>>
getFriendAccountsAndroid() Future<NIMResult<List<String>>>
getFriendList() Future<NIMResult<List<NIMFriend>>>
getMuteList() Future<NIMResult<List<String>>>
getUserInfo(String userId) Future<NIMResult<NIMUser>>
getUserInfoListAndroid(List<String> userId) Future<NIMResult<List<NIMUser>>>
handleMethodCall(String method, dynamic arguments) Future
inherited
invokeMethod(String method, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>>
inherited
isInBlackList(String userId) Future<NIMResult<bool>>
isMute(String userId) Future<NIMResult<bool>>
isMyFriend(String userId) Future<NIMResult<bool>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent(String method, dynamic arguments) Future
inherited
removeFromBlackList(String userId) Future<NIMResult<void>>
searchAccountByAliasAndroid(String alias) Future<NIMResult<List<String>>>
searchFriendsByKeywordAndroid(String keyword) Future<NIMResult<List<NIMFriend>>>
searchUserIdListByNick(String nick) Future<NIMResult<List<String>>>
searchUserInfoListByKeyword(String keyword) Future<NIMResult<List<NIMUser>>>
setMute(String userId, dynamic isMute) Future<NIMResult<void>>
toString() String
A string representation of this object.
inherited
updateFriend(String userId, String alias) Future<NIMResult<void>>
updateMyUserInfo(NIMUser user) Future<NIMResult<void>>

Operators

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

Static Properties

instance UserServicePlatform
getter/setter pair