fun cleanup(resultCallback: ((Result<String, CameraException>) -> Unit)? = null): Unit
Removes intermediate image files that are kept in the temporary storage after calling getPicture.
resultCallback
- an optional callback function to get the Result of the cleanup operation.