|
hyphenate_SDK3.0
3.1.4
hyphenatejavaIMSDK
|
Public 成员函数 | |
| EMGroup (EMAGroup group) | |
| String | getGroupId () |
| String | getGroupName () |
| boolean | isPublic () |
| boolean | isAllowInvites () |
| boolean | isMembersOnly () |
| void | setStyle (int style) |
| boolean | isMsgBlocked () |
| String | getOwner () |
| String | groupSubject () |
| List< String > | getMembers () |
| String | getDescription () |
| int | getAffiliationsCount () |
| String | toString () |
| com.hyphenate.chat.EMGroup.EMGroup | ( | EMAGroup | group | ) |
for app convince, the EMGroup is inherited from EMContact so we use EMContact.eid –>EMGroup.eid EMContact.username –>EMGroup.groupId EMContact.nick –>EMGroup.groupName (display name)
| int com.hyphenate.chat.EMGroup.getAffiliationsCount | ( | ) |
获取成员数量
| String com.hyphenate.chat.EMGroup.getDescription | ( | ) |
获取群简介
| String com.hyphenate.chat.EMGroup.getGroupId | ( | ) |
获取群ID
| String com.hyphenate.chat.EMGroup.getGroupName | ( | ) |
获取群名称
| List<String> com.hyphenate.chat.EMGroup.getMembers | ( | ) |
获取群成员列表
| String com.hyphenate.chat.EMGroup.getOwner | ( | ) |
获取群创建者
| boolean com.hyphenate.chat.EMGroup.isAllowInvites | ( | ) |
获取群组是否允许成员邀请
| boolean com.hyphenate.chat.EMGroup.isMsgBlocked | ( | ) |
获取是否已屏蔽消息
| boolean com.hyphenate.chat.EMGroup.isPublic | ( | ) |
获取群组是否为公开群
| String com.hyphenate.chat.EMGroup.toString | ( | ) |
返回群组名称或者群组ID,此方法可用于Adapter排序
1.8.9.1