deleteTemporaryFile

open fun deleteTemporaryFile(@NonNull context: Context, @Nullable imageUri: Uri): Boolean

Deletes temporary file previously created by capturing image through camera.

Return

true if file was removed, false otherwise.

Parameters

context

The context to use.

imageUri

Uri of file that should be removed.