deleteAttachment

open fun deleteAttachment(    @NonNull context: Context,     @NonNull processUUID: String,     @NonNull attachmentPath: String): Boolean

Deletes the given attachment from process directory.

Return

true if the attachment was successfully deleted, false otherwise.

Parameters

context

Context The application context.

processUUID

String the process uuid.

attachmentPath

String path of attachment to delete.