Retrieve User Profile Data
#
Get User profile dataTo 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 statusesUser 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
#
Get current User busy statusUser can get their current user busy status using the below method.
Refer this doc to know more about BusyStatus Class
#
Check User Busy status is enabledUser can check whether their busy status is enabled or disabled.
#
Get the list of User saved busy statusesUser can get their list of previously saved user busy statuses by calling the below method.
info
This list also contains some pre defined values.