kvision / pl.treksoft.kvision.cordova / Camera / cleanup

cleanup

fun cleanup(resultCallback: ((Result<String, CameraException>) -> Unit)? = null): Unit

Removes intermediate image files that are kept in the temporary storage after calling getPicture.

Parameters

resultCallback - an optional callback function to get the Result of the cleanup operation.