Subscribing to Notifications of User Data Path Changes
Function
A notification is sent when the user data path is changed. (This API is valid only for the Windows platform.)
Function Prototype
setOnUserSavePathChangedCB(onUserSavePathChanged: (userSavePathInfo: UserSavePathInfo) => void): voidsetOnUserSavePathChangedCB(onUserSavePathChanged: (userSavePathInfo: UserSavePathInfo) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onUserSavePathChanged | Yes | (userSavePathInfo: UserSavePathInfo) => void | A notification is sent when the user data path is changed. (This parameter is valid only for the Windows platform.) |
Return Values
void
Notification Method Parameters
(userSavePathInfo: UserSavePathInfo) => void
Parameter | Type | Description |
---|---|---|
userSavePathInfo | UserSavePathInfo | Path information. |
Parameter | Type | Description |
---|---|---|
pathType | SavePathType | Save path type. |
path | string | Save path. The value is an absolute path and must be encoded in UTF-8. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_SAVE_PATH_LOCAL_RECORD | 0 | Path for storing local recording files. |
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot