Skip to main content
Get a list of all locally saved files.

Parameters

PropertyTypeRequiredDescription
successFunctionNoCallback with file list
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Success Callback

PropertyTypeDescription
fileListArrayArray of file objects with apFilePath, size, createTime

Code Example

my.getSavedFileList({
  success: (res) => {
    res.fileList.forEach(file => {
      console.log(file.apFilePath, file.size);
    });
  }
});