hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
Public Member Functions | List of all members
com.hyphenate.chat.EMGroup Class Reference

Public Member Functions

 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 ()
 

Constructor & Destructor Documentation

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)

Member Function Documentation

int com.hyphenate.chat.EMGroup.getAffiliationsCount ( )

get the members size

Returns
String com.hyphenate.chat.EMGroup.getDescription ( )

get group description

Returns
String com.hyphenate.chat.EMGroup.getGroupId ( )

get group id

Returns
group id
String com.hyphenate.chat.EMGroup.getGroupName ( )

get group name

Returns
List<String> com.hyphenate.chat.EMGroup.getMembers ( )

get the member list

Returns
String com.hyphenate.chat.EMGroup.getOwner ( )

get the owner

Returns
boolean com.hyphenate.chat.EMGroup.isAllowInvites ( )

get whether the group member is allow invite the others

Returns
boolean com.hyphenate.chat.EMGroup.isMsgBlocked ( )

get whether the message is blocked

boolean com.hyphenate.chat.EMGroup.isPublic ( )

get whether the group is public

String com.hyphenate.chat.EMGroup.toString ( )

return group name or group id, this method can be used for adapter sorting

Returns

The documentation for this class was generated from the following file: