# FileSystemManager.removeSavedFile(Object object)

with Promise style call: Supported

Mini Program plugin: Not supported

Delete the saved local cache file under the Mini Program

# parameter

# Object object

attribute type Default values Required Introductions
filePath string yes File path to delete (Local path)
success function no Interface calls the successful callback function
fail function no Interface calls failed callback functions
complete function no Callback function at the end of an interface call (both successful and unsuccessful calls are executed)

# object.fail callback

# parameter
# Object res
attribute type Introductions
errMsg string Error message

res.errMsg Legal value

value Introductions Minimum version
fail file not exist Specified tempFilePath Cannot find file