Retrieve User Profile Data
Get User profile data#
To get the profile data of a user(not a group) call the below method.
| Argument | Type | Description |
|---|---|---|
| USER_JID | String | Jid of the user |
| FETCH_FROM_SERVER | Bool | true to fetch from server false will fetch from local database |
| SAVE_AS_FRIEND | Bool | if true the user will be saved as friend and will be available in list of contacts to chat |
| CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |
Get the list of User saved profile statuses#
User can get their list of previously saved user statuses by calling the below method.
info
This list contains some pre defined values. ProfileStatus reference document