TIMUIKitProfileController class
Methods
-
addFriend(String userID)
→ Future<V2TimFriendOperationResult?>
-
Add a user as friend or contact
-
addUserToBlackList(bool shouldAdd, String userID)
→ Future<List<V2TimFriendOperationResult>?>
-
add a user to block list
-
changeFriendVerificationMethod(int allowType)
→ Future<V2TimCallback>
-
Change the friend adding request verification method,
0 represents "Accept all friend request",
1 represents "Require approval for friend requests",
2 represents "reject all friend requests".
-
deleteFriend(String userID)
→ Future<V2TimFriendOperationResult?>
-
Remove a user from friend or contact
-
dispose()
→ dynamic
-
-
loadData(String userID)
→ dynamic
-
Load the profile data
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pinConversation(bool isPined, String convID)
→ Future<V2TimCallback>
-
pin the conversation to the top
-
pinedConversation(bool isPined, String convID)
→ Future<V2TimCallback>
-
Deprecated: Please use pinConversation instead. Pin the conversation to the top
-
setMessageDisturb(String userID, bool isDisturb)
→ Future<V2TimCallback>
-
set the message from a specific user as not disturb, mute notification
-
showTextInputBottomSheet({required BuildContext context, required String title, required String tips, required dynamic onSubmitted(String text), required TUITheme theme, Offset? initOffset, String? initText})
→ dynamic
-
Show the text input bottom sheet
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateAvatar(String url)
→ Future<V2TimCallback>
-
-
updateBirthday(int birthday)
→ Future<V2TimCallback>
-
-
updateGender(int gender)
→ Future<V2TimCallback>
-
1:男 2:女
-
updateNickName(String nickName)
→ Future<V2TimCallback>
-
-
update the remarks for other users,
-
updateSelfSignature(String selfSignature)
→ Future<V2TimCallback>
-