CloudDisk_ResultList
typedef struct CloudDisk_ResultList {...} CloudDisk_ResultList
Overview
A struct that encapsulates the file sync result. It includes the absolute path of the file, sync result, and sync state or failure cause.
Since: 21
Related module: CloudDisk
Header file: oh_cloud_disk_manager.h
Summary
Member Variables
| Name | Description |
|---|---|
| CloudDisk_PathInfo pathInfo | Absolute path information of the file. |
| bool isSuccess{false} | Whether the operation is successful. The value true indicates the operation is successful; the value false (default) indicates the opposite. |
| CloudDisk_SyncState syncState | File sync state. It takes effect only when isSuccess is set to true. |
| CloudDisk_ErrorReason errorReason | Reason why the file sync state fails to be obtained. It takes effect only when isSuccess is set to false. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-file-environment-sys
openharmony 鸿蒙 js-apis-file-fs
openharmony 鸿蒙 capi-clouddisk-clouddisk-pathinfo
openharmony 鸿蒙 capi-clouddisk-clouddisk-changesresult
openharmony 鸿蒙 capi-clouddisk-clouddisk-syncfolder
openharmony 鸿蒙 js-apis-fileShare
openharmony 鸿蒙 js-apis-file-storage-statistics-sys