my.getSavedFileList
Version requirements: Basic library 1.13.0 or higher version. If the version is low, you can programmatically check for Compatibility.
Get information of all saved files.
Sample Code
copy
my.getSavedFileList({
success:(res)=>{
console.log(JSON.stringfy(res))
}
});Parameters
Object type with the following attributes:
| Attributes | Type | Mandatory | Description |
| success | Function | No | Callback function for call success |
| fail | Function | No | Callback function for call failure |
| complete | Function | No | Callback function for call completion (to be executed for both call success and failure) |
Success Callback Function
The incoming parameter is of the Object type with the following attributes:
| Name | Type | Description |
| fileList | List | File list |
File Object Attribute
| Attributes | Type | Description |
| size | Number | File size |
| createTime | Number | Created time |
| apFilePath | String | File path |