Set/Update User Profile Data
Update user profile#
To update your profile call the below method.
- Dart
- Response
| Argument | Type | Description |
|---|---|---|
| NAME | String | name of the user |
| EMAIL_ID | String | email id of the user |
| MOBILE_NUMBER | String | mobile number of the user |
| STATUS | String | status of the user |
| IMAGE_URL | String | image url of the user |
| flyCallback | FlyResponse | callback to observe the action status |
Update user profile image#
To update your profile image, please use the following method. You can send a file path containing the new image file
- Dart
- Response
| Argument | Type | Description |
|---|---|---|
| IMAGE_FILE_PATH | String | file path string of the profile image |
| flyCallback | FlyResponse | callback to observe the action status |
Refer Profile to know more about Profile class.
Remove user profile image#
To remove your profile image call the below method.
| Argument | Type | Description |
|---|---|---|
| flyCallback | FlyResponse | callback to observe the action status |
Set User status#
User can set the status for their profile using the below method.
- Dart
- Response
| Argument | Type | Description |
|---|---|---|
| STATUS_TEXT | String | Status text cannot be longer than 140 characters |
| STATUS_ID | String | id of the Status |
| flyCallback | FlyResponse | callback to observe the action status |
Delete User status#
User can delete their user status by calling the below method.
- Dart
- Response
| Argument | Type | Description |
|---|---|---|
| STATUS_TEXT | String | Status text |
| STATUS_ID | String | id of the Status |
| IS_CURRENT_STATUS | bool | is the status currently set in profile |
caution
User cannot delete a status which is currently selected.