Class AddGroupMembersViewModel

  • All Implemented Interfaces:

    
    public class AddGroupMembersViewModel
    
                        

    功能描述: 创建增加群联系人 ViewModel

    Since:

    5.12.0

    Author:

    rongcloud

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void )>inviteUsersToGroup(OnDataChangeListener<CoreErrorCode> onDataChangeListener) 加入群组
      LiveData<List<ContactModel>> getFilteredContactsLiveData()
      LiveData<List<ContactModel>> getSelectedContactsLiveData()
      void updateContact(ContactModel updatedContact) 更新联系人状态
      void queryContacts(String query) 查询联系人
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddGroupMembersViewModel

        AddGroupMembersViewModel(Bundle arguments)
    • Method Detail

      • inviteUsersToGroup

         void )>inviteUsersToGroup(OnDataChangeListener<CoreErrorCode> onDataChangeListener)

        加入群组

        Parameters:
        onDataChangeListener - 数据变化监听器
        Since:

        5.12.2

      • updateContact

         void updateContact(ContactModel updatedContact)

        更新联系人状态

        Parameters:
        updatedContact - 更新后的联系人
      • queryContacts

         void queryContacts(String query)

        查询联系人

        Parameters:
        query - 查询关键字