Skip to main content
Get information about a file saved with my.saveFile.

Parameters

PropertyTypeRequiredDescription
apFilePathStringYesSaved file path
successFunctionNoCallback with info
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Success Callback

PropertyTypeDescription
sizeNumberFile size in bytes
createTimeNumberCreation timestamp

Code Example

my.getSavedFileInfo({
  apFilePath: savedPath,
  success: (res) => {
    console.log('Size:', res.size);
    console.log('Created:', new Date(res.createTime));
  }
});