Help Center/
Meeting/
Client SDK Reference/
Windows SDK/
API Reference/
Account Operations/
Deleting a Profile Picture
Updated on 2024-07-30 GMT+08:00
Deleting a Profile Picture
DeleteSelfAvatar
API Description
This API is used to delete a customized profile picture.
Precautions
- Call this API only when you have logged in.
Method Definition
1
|
HWM_SDK_AGENT_API hwmsdk::HwmErrCode DeleteSelfAvatar(); |
Callback Function
1
|
virtual void OnDeleteSelfAvatarResult(hwmsdk::HwmErrCode ret, const char* reason) {}; |
1 2 3 4 5 6 7 8 9 |
/** * Delete a profile picture. */ int demoUploadSelfAvatarDlg::DeleteSelfAvatar() { // Call the API for deleting a profile picture. int ret = hwmsdkagent::DeleteSelfAvatar(); return ret; } |
Parent topic: Account Operations
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot