delete Resource

open fun deleteResource(resourcesDirectory: String, resourceId: String): Boolean

Method to delete a resource file

Return

whether the resource has been deleted as boolean

Parameters

resourcesDirectory

: the resources directory where delete a resource file

resourceId

: the resource identifier of the resource to delete