my.removeSavedFile

Version requirements: Basic library 1.13.0 or higher version. If the version is low, you can programmatically check for Compatibility.

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:

AttributesTypeMandatoryDescription
apFilePathStringYesFile path
successFunctionNoCallback function for call success
failFunctionNoCallback function for call failure
completeFunctionNoCallback function for call completion (to be executed for both call success and failure)