Retrieve User Profile Data
Get user profile data#
To get the profile data of a user(not a group) call the below method.
- Java
- Kotlin
Refer this doc to know more about Profile Class
| Argument | Type | Description |
|---|---|---|
| USER_JID | String | Jid of the user |
| FETCH_FROM_SERVER | boolean | true to fetch from server |
| CALLBACK | FlyCallback | FlyCallback implemented as as lambda expression |
All the contact related operation will be found below.
Get User/Group profile details#
if you want to get the profile details for the chat user, you can utilise the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| JID | String | jid of the user |
Get current user status#
User can get their current user status using the below method.
- Java
- Kotlin
Refer this doc to know more about ProfileStatus Class
Get the list of user saved profile statuses#
User can get their list of previously saved user statuses by calling the below method.
- Java
- Kotlin
info
This list contains some pre defined values.