hyphenate_SDK3.0
3.8.5
hyphenatejavaIMSDK
|
Public Attributes | |
int | maxUsers = 200 |
EMGroupManager.EMGroupStyle | style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite |
boolean | inviteNeedConfirm = false |
String | extField |
Create group related options
String com.hyphenate.chat.EMGroupOptions.extField |
Group extension field, can be json format, which can contains more descriptions
boolean com.hyphenate.chat.EMGroupOptions.inviteNeedConfirm = false |
This option define whether user will immediately joined the group when receive group invitation Invitation will automatically into the group has two levels of set, inviteNeedConfirm set when creating group and by EMOptions#setAutoAcceptGroupInvitation(boolean) automatically accept group of invitation, Specific use is as follows: (1) If inviteNeedConfirm is set to false, add the invitee directly to the group on the server side, and EMOptions#setAutoAcceptGroupInvitation(boolean) set is invalid (2) If inviteNeedConfirm is set to true, and EMOptions#setAutoAcceptGroupInvitation(boolean) to be effective EMOptions#setAutoAcceptGroupInvitation(boolean) is SDK level operation, setting it to true, after invitee receives group invitation, SDK automatically calls the API that accepts the invitation to join the group; When it is set to false, which means that it does not automatically agree to its invitation, user who received group invitation has option to decide whether join in
int com.hyphenate.chat.EMGroupOptions.maxUsers = 200 |
Maximum number of group members
EMGroupManager.EMGroupStyle com.hyphenate.chat.EMGroupOptions.style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite |
Group style, refer to com.hyphenate.chat.EMGroupManager.EMGroupStyle