Set/Update User Profile Data
#
ProfileDetailsEvery single chat contact has been modelled after ProfileDetails class. It holds the data of a user name, display picture, whether you blocked them or not etc. Refer this doc to know more about ProfileDetails Class
.
#
Update your profile infoTo update your profile call the below method.
info
In profile object for image property set the absolute file path of a file if a image file needs to be uploaded or else set it to profile image id.
Argument | Type | Description |
---|---|---|
PROFILE_OBJECT | Profile | Profile object which the updated value |
CALLBACK | FlyCallback | FlyCallback implemented as as lambda expression |
#
Update profile imageTo update your profile image call the below method.
Argument | Type | Description |
---|---|---|
IMAGE | String | ImageURL of the profile image, URL can be local path or remote url |
CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |
#
Remove Profile ImageTo remove your profile image call the below method.
Argument | Type | Description |
---|---|---|
CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |
#
Create user profile statusUser can create the status for their profile using the below method.
Argument | Type | Description |
---|---|---|
STATUSTEXT | String | statusText of the current status |
CURRENTSTATUS | Bool | currentStatus of the selected status |
#
Update user profile statusUser can set the status for their profile using the below method.
Argument | Type | Description |
---|---|---|
STATUSID | String | statusId of the status |
STATUSTEXT | String | statusText of the current status |
CURRENTSTATUS | Bool | currentStatus of the selected status |