Modify Group Names with MirrorFly Android SDK | Guide
#
Update group nameUser can able to update group name whenever they want by using the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
GROUP_JID | String | jid of the group |
GROUP_NAME | String | new name for the group which has to updated |
LISTENER | ChatActionListener | listener callback to observe the action status |
#
Update group profile imageUser can able to update group profile image whenever they want by using the below method.
To update group profile image as either file or by using uploaded image id:
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
GROUP_JID | String | Jid of the group |
IMAGE_FILE | File | File object of the group profile image |
IMAGE_ID | String | new profile image as a url which has to updated for the group |
LISTENER | ChatActionListener | callback to observe the action status |
#
Remove group profile imageUser can able to remove group profile image whenever they want by using the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
GROUP_JID | String | Jid of the group |
LISTENER | ChatActionListener | callback to observe the action status |
caution
If there is no internet or the connection between chat server and the app isn't made group update functionality will be executed locally once the connection is restored it will be updated for other group members and in the server.