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:
Property | Type | Required | Description |
apFilePath | String | Yes | File path. |
success | Function | No | Callback function upon call success. |
fail | Function | No | Callback function upon call failure. |
complete | Function | No | Callback function upon call completion (to be executed upon either call success or failure). |