hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Attributes | |
int | maxUsers = 200 |
EMGroupManager.EMGroupStyle | style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite |
boolean | inviteNeedConfirm = false |
String | extField |
Group property options to be configured during group creation.
String com.hyphenate.chat.EMGroupOptions.extField |
Group detail extensions which can be in the JSON format to contain more group information.
boolean com.hyphenate.chat.EMGroupOptions.inviteNeedConfirm = false |
This option defines whether to ask for content when inviting a user to join a group. Whether automatically acceting the invitation to join a group depends on two settings: inviteNeedConfirm, an option during group creation, and EMOptions#setAutoAcceptGroupInvitation(boolean) which determines whether to automatically accept an invitation to join the group. There are two cases: (1) If inviteNeedConfirm is set to 'false', adds the invitee directly to the group on the server side regardless of the setting of EMOptions#setAutoAcceptGroupInvitation(boolean).
(2) If inviteNeedConfirm is set to 'true', the user automatically joins a group or decides whether to join, depending on the setting of EMOptions#setAutoAcceptGroupInvitation(boolean). EMOptions#setAutoAcceptGroupInvitation(boolean) is an SDK-level operation. If it is set to true, SDK calls the API for agreeing to join the group to automatically accept the joining invitation. If inviteNeedConfirm is set to false, SDK does not automatically accept its invitation, but the user decides to accept or reject the invitation.
int com.hyphenate.chat.EMGroupOptions.maxUsers = 200 |
The maximum number of members in a group.
EMGroupManager.EMGroupStyle com.hyphenate.chat.EMGroupOptions.style = EMGroupManager.EMGroupStyle.EMGroupStylePrivateOnlyOwnerInvite |
The group style. See com.hyphenate.chat.EMGroupManager.EMGroupStyle.