UserManager class
Constructors
- UserManager(MethodChannel _channel)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- listener ↔ OnUserListener
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSelfUserInfo(
{String? operationID}) → Future< UserInfo> - Get information of the currently logged-in user
-
getSubscribeUsersStatus(
{String? operationID}) → Future< List< UserStatusInfo> > -
getUsersInfo(
{required List< String> userIDList, String? operationID}) → Future<List< FullUserInfo> > -
Get user information
userIDList
List of user IDs -
getUsersInfoWithCache(
List< String> userIDs, {String? groupID, String? operationID}) → Future<List< FullUserInfo> > -
getUserStatus(
List< String> userIDs, {String? operationID}) → Future<List< UserStatusInfo> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSelfInfo(
{String? nickname, String? faceURL, int? appManagerLevel, String? ex, String? operationID}) → Future< String?> -
Modify the profile of the currently logged-in user
nickname
NicknamefaceURL
Profile pictureappManagerLevel
ex
Additional fields -
setUserListener(
OnUserListener listener) → Future - User profile change listener
-
subscribeUsersStatus(
List< String> userIDs, {String? operationID}) → Future<List< UserStatusInfo> > -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribeUsersStatus(
List< String> userIDs, {String? operationID}) → Future
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited