Class GroupInfo

    • Field Detail

      • callId

        protected String callId
        The group call id.
    • Constructor Detail

      • GroupInfo

        public GroupInfo​(String id,
                         String title)
        Instantiates a new group info.
        Parameters:
        id - the id
        title - the title
    • Method Detail

      • getCallId

        public String getCallId()
        Gets the call id.
        Returns:
        the call id
      • isGroup

        public boolean isGroup()
        Checks if it is a group.
        Specified by:
        isGroup in class IdentityInfo
        Returns:
        true, if is a group
      • setCallId

        protected void setCallId​(String callId)
        Sets the call id.
        Parameters:
        callId - the new call id
      • getMembers

        public Map<String,​UserInfo> getMembers()
        Gets the members.
        Returns:
        the members
      • addMember

        protected void addMember​(UserInfo user)
        Adds the member.
        Parameters:
        user - the user
      • addMembers

        protected void addMembers​(Collection<UserInfo> users)
        Adds the members (bulk operation).
        Parameters:
        users - the users
      • setMembers

        protected void setMembers​(Collection<UserInfo> users)
        Set new members (replace existing ones).
        Parameters:
        users - the users