agora_chat_SDK  3.8.2
agorajavachatSDK
Public Attributes | List of all members
io.agora.chat.GroupOptions Class Reference

Public Attributes

int maxUsers = 200
 
GroupManager.GroupStyle style = GroupManager.GroupStyle.GroupStylePrivateOnlyOwnerInvite
 
boolean inviteNeedConfirm = false
 
String extField
 

Detailed Description

Create group related options

Member Data Documentation

String io.agora.chat.GroupOptions.extField

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

boolean io.agora.chat.GroupOptions.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 ChatOptions#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 ChatOptions#setAutoAcceptGroupInvitation(boolean) set is invalid (2) If inviteNeedConfirm is set to true, and ChatOptions#setAutoAcceptGroupInvitation(boolean) to be effective ChatOptions#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 io.agora.chat.GroupOptions.maxUsers = 200

Maximum number of group members

GroupManager.GroupStyle io.agora.chat.GroupOptions.style = GroupManager.GroupStyle.GroupStylePrivateOnlyOwnerInvite

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