hyphenate_SDK3.0  3.8.6.1
hyphenate java IM SDK
Public Attributes | List of all members
com.hyphenate.chat.EMGroupOptions Class Reference

Public Attributes

int maxUsers = 200
 
EMGroupManager.EMGroupStyle style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite
 
boolean inviteNeedConfirm = false
 
String extField
 

Detailed Description

Create group related options

Member Data Documentation

◆ extField

String com.hyphenate.chat.EMGroupOptions.extField

Group extension field, can be json format, which can contains more descriptions

◆ inviteNeedConfirm

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

◆ maxUsers

int com.hyphenate.chat.EMGroupOptions.maxUsers = 200

Maximum number of group members

◆ style

EMGroupManager.EMGroupStyle com.hyphenate.chat.EMGroupOptions.style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite

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