hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
Public 成员函数 | 所有成员列表
com.hyphenate.chat.EMGroup类 参考

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

返回
群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排序

返回

该类的文档由以下文件生成: