hyphenate_SDK3.0
3.8.6.1
hyphenate java IM SDK
|
Inherits com.hyphenate.chat.EMBase< T >.
Classes | |
enum | EMGroupPermissionType |
Public Member Functions | |
EMGroup (EMAGroup group) | |
String | getGroupId () |
String | getGroupName () |
String | getDescription () |
boolean | isPublic () |
boolean | isAllowInvites () |
boolean | isMemberAllowToInvite () |
boolean | isMembersOnly () |
boolean | isMemberOnly () |
int | getMaxUserCount () |
boolean | isMsgBlocked () |
String | getOwner () |
String | groupSubject () |
List< String > | getMembers () |
int | getMemberCount () |
String | toString () |
List< String > | getAdminList () |
List< String > | getBlackList () |
List< String > | getMuteList () |
List< String > | getWhiteList () |
boolean | isAllMemberMuted () |
String | getExtension () |
String | getAnnouncement () |
List< EMMucSharedFile > | getShareFileList () |
EMGroupPermissionType | getGroupPermissionType () |
Group
List<String> com.hyphenate.chat.EMGroup.getAdminList | ( | ) |
Get group admin list If not fetch the group's detail specification from server, the result may be empty Get Group detail, see EMGroupManager#getGroupFromServer(String)
String com.hyphenate.chat.EMGroup.getAnnouncement | ( | ) |
Get group announcement If not get announcement from server, the return may be empty Get group announcement, can call the method of EMGroupManager#fetchGroupAnnouncement(String), also can call its asynchronous method of EMGroupManager#asyncFetchGroupAnnouncement(String, EMValueCallBack)
List<String> com.hyphenate.chat.EMGroup.getBlackList | ( | ) |
Get blacklist If not get blacklist from server, the return may be empty Fetch blacklist can call EMGroupManager#fetchGroupBlackList(String, int, int), call this method need owner or admin authority, also can call it's asynchronous method EMGroupManager#asyncFetchGroupBlackList(String, int, int, EMValueCallBack)
String com.hyphenate.chat.EMGroup.getDescription | ( | ) |
Get group description
String com.hyphenate.chat.EMGroup.getExtension | ( | ) |
Get group customized extension
String com.hyphenate.chat.EMGroup.getGroupId | ( | ) |
Get group id
String com.hyphenate.chat.EMGroup.getGroupName | ( | ) |
Get group name
EMGroupPermissionType com.hyphenate.chat.EMGroup.getGroupPermissionType | ( | ) |
Get the current user's role in group
int com.hyphenate.chat.EMGroup.getMaxUserCount | ( | ) |
Max group members capability It depends on group detail, if not fetch group detail, return 0
int com.hyphenate.chat.EMGroup.getMemberCount | ( | ) |
Get the member count
List<String> com.hyphenate.chat.EMGroup.getMembers | ( | ) |
Get the member list If not get members from server, the return may be empty You can get members in the flowing ways: (1) When member's number is less than 200, can use EMGroupManager#getGroupFromServer(String, boolean) to fetch, the second parameter pass in true, can get up to 200 members (2) Use the method of EMGroupManager#fetchGroupMembers(String, String, int) to get by page, also can use its asynchronous method of EMGroupManager#asyncFetchGroupMembers(String, String, int, EMValueCallBack) to get
List<String> com.hyphenate.chat.EMGroup.getMuteList | ( | ) |
Get group mute list If not get mute list from server, the return may be empty Fetch mute list can call EMGroupManager#fetchGroupMuteList(String, int, int), call this method need owner or admin authority, also can call it's asynchronous method EMGroupManager#asyncFetchGroupMuteList(String, int, int, EMValueCallBack)
String com.hyphenate.chat.EMGroup.getOwner | ( | ) |
Get the owner
List<EMMucSharedFile> com.hyphenate.chat.EMGroup.getShareFileList | ( | ) |
Get group shared file list If not get shared file list from server, the return may be empty Fetch shared file list can call EMGroupManager#fetchGroupSharedFileList(String, int, int), EMGroupManager#asyncFetchGroupSharedFileList(String, int, int, EMValueCallBack)
List<String> com.hyphenate.chat.EMGroup.getWhiteList | ( | ) |
Get white list If not get whitelist from server, the return may be empty Fetch whitelist can call EMGroupManager#fetchGroupWhiteList(String, EMValueCallBack), call this method need owner or admin authority
String com.hyphenate.chat.EMGroup.groupSubject | ( | ) |
Subject of the group, need to get group detail
boolean com.hyphenate.chat.EMGroup.isAllMemberMuted | ( | ) |
Return if all member muted This method has limitations and is recommended to be used with caution The state is updated when a all-muted/all-unmuted callback is received, but only for the in-memory object. After the in-memory object is collected and pulled again from the database or server, the state becomes untrusted
boolean com.hyphenate.chat.EMGroup.isAllowInvites | ( | ) |
Get if the group member is allow invite the others
boolean com.hyphenate.chat.EMGroup.isMemberAllowToInvite | ( | ) |
Get if the group member is allow invite the others
boolean com.hyphenate.chat.EMGroup.isMemberOnly | ( | ) |
Group properties:members can not auto join the group, need join group application approved or received invitation Corresponding group style is the three other attributes besides EMGroupManager.EMGroupStyle#EMGroupStylePublicOpenJoin
boolean com.hyphenate.chat.EMGroup.isMembersOnly | ( | ) |
Group properties:members can not auto join the group, need join group application approved or received invitation Corresponding group style is the three other attributes besides EMGroupManager.EMGroupStyle#EMGroupStylePublicOpenJoin
boolean com.hyphenate.chat.EMGroup.isMsgBlocked | ( | ) |
Get whether the group message is blocked For blocking group message see EMGroupManager#blockGroupMessage(String), unblocking see EMGroupManager#unblockGroupMessage(String)
boolean com.hyphenate.chat.EMGroup.isPublic | ( | ) |
Get if the group is public
String com.hyphenate.chat.EMGroup.toString | ( | ) |
Return group name or group id, this method can be used for adapter sorting