Manage User Account
Send Feedback/Contact Us Info#
To send feedback information from the user, you can call the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| TITLE | String | title for the feedback |
| DESCRIPTION | String | detailed info about the feedback |
| CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
Delete Account#
To delete the chat account call the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| REASON | String | reason for the account deletion |
| FEEDBACK | String | detailed feedback about the account deletion |
| CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
info
Deleting chat account will remove all informations(messages, groups and contacts) related to this chat account
Logout of Chat SDK#
To logout of the chat SDK call the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
caution
Once you are logged out you cannot establish a connection with chat server unless you login again.
info
Logout function will not clear messages and groups data in Chat database.
info
Sdk is having a built-in functions to prepare the JID, Group JID.
Clear all data in Chat SDK#
To clear all SDK data in the database and preference call the below method.
- Java
- Kotlin
Invite a user#
if you want to invite a user to the chat app, you can utilise the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| MOBILE_NUMBER | String | mobile number to send a invite message |
| MESSAGE | String | invite message content |