# UserProfileViewModel

public class UserProfileViewModel

用户资料页面ViewModel

#### Author

rongcloud

#### Since

5.12.0

## Constructors

UserProfileViewModel
Link copied to clipboard
public void UserProfileViewModel(Bundle arguments)

## Properties

myGroupMemberInfoLiveData
Link copied to clipboard
public final MutableLiveData<GroupMemberInfo> myGroupMemberInfoLiveData
onlineStatusLiveData
Link copied to clipboard
public final MutableLiveData<SubscribeUserOnlineStatus> onlineStatusLiveData

## Functions

applyFriend
Link copied to clipboard
public void applyFriend(String remark, OnDataChangeListener<CoreErrorCode> callback)
deleteFriend
Link copied to clipboard
public void deleteFriend(OnDataChangeListener<Boolean> callback)
getContactModelLiveData
Link copied to clipboard
public MutableLiveData<ContactModel> getContactModelLiveData()
getMyGroupMemberInfoLiveData
Link copied to clipboard
public MutableLiveData<GroupMemberInfo> getMyGroupMemberInfoLiveData()
getOnlineStatusLiveData
Link copied to clipboard
public MutableLiveData<SubscribeUserOnlineStatus> getOnlineStatusLiveData()
getUiUserDetail
Link copied to clipboard
public UiUserDetail getUiUserDetail()
getUserProfile
Link copied to clipboard
public void getUserProfile()
getUserProfilesLiveData
Link copied to clipboard
public MutableLiveData<UiUserDetail> getUserProfilesLiveData()