delete

open fun delete(fileName: String, contentType: Int, storageType: Int): Boolean

Delete file according to :

Return

true if success or not exist, false - error

Parameters

fileName

- name of file to be deleted

contentType

- type of file content

storageType

- type of storage where file to be deleted


open fun delete(@Nullable file: File): Boolean

Delete file of directory according to :

Return

true if success or not exist, false - error

Parameters

file

- file path of file of directory to be deleted