Removes intermediate photos taken by the camera from temporary storage. cameraSuccess, cameraError );


Removes intermediate image files that are kept in temporary storage after calling [camera.getPicture](camera.getPicture.html). Applies only when the value of [Camera](camera.html).sourceType equals [Camera](camera.html).PictureSourceType.CAMERA and the [Camera](camera.html).destinationType equals [Camera](camera.html).DestinationType.FILE_URI.

Supported Platforms

  • iOS

Example, onFail);

function onSuccess() {
    console.log("Camera cleanup success.")

function onFail(message) {
    alert('Failed because: ' + message);