Cleans up the image files that were taken by the camera, that were stored in a temporary storage location. cameraSuccess, cameraError );


Cleans up the image files stored in the temporary storage location, when the function [camera.getPicture](camera.getPicture.html) is used with [Camera](camera.html).sourceType = [Camera](camera.html).PictureSourceType.CAMERA and [Camera](camera.html).destinationType = [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);