FileSystemManager.getSavedFileList
JS
FileSystemManager.getSavedFileList(Object object)Gets the list of saved local cache files
Parameters
- Object object: Input parameters. See the table below for details.
object properties:
| Property | Value Type | Required | Description |
|---|---|---|---|
| success | function | No | Callback for a successful call. See the table below for details. |
| fail | function | No | Callback for a failed call |
| complete | function | No | Callback for when the call ends |
Parameters of the success callback
- Object res: Returns information
res properties:
| Property | Value Type | Description |
|---|---|---|
| fileList | Array | File array |
fileList properties__
| Property | Value Type | Description |
|---|---|---|
| filePath | string | File path |
| size | number | Local file size, in bytes |
| createTime | number | Timestamp of when the file was saved, in seconds from 1970/01/01 08:00:00 to the current time |
