my.removeSavedFile

Delete a saved file.

Sample Code

copy
my.getSavedFileList({
  success:(res)=>{
    my.removeSavedFile({
      apFilePath:res.fileList[0].apFilePath,
      success:(res)=>{
        console.log('remove success')
      }
    })
  }
});

Parameters

Object type with the following attributes:

PropertyType

Required

Description
apFilePathStringYesFile path.
successFunctionNoCallback function upon call success.
failFunctionNoCallback function upon call failure.
completeFunctionNoCallback function upon call completion (to be executed upon either call success or failure).