examples/phonegap1/plugins/cordova-plugin-camera/src/windows/CameraProxy.js
function () {
        window.removeEventListener("focus", savePhotoOnFocus);
        // call only when the app is in focus again
        savePhoto(cameraPicture, {
            destinationType: destinationType,
            targetHeight: targetHeight,
            targetWidth: targetWidth,
            encodingType: encodingType,
            saveToPhotoAlbum: saveToPhotoAlbum
        }, successCallback, errorCallback);
    }
function () {
        window.removeEventListener("focus", savePhotoOnFocus);
        // call only when the app is in focus again
        savePhoto(cameraPicture, {
            destinationType: destinationType,
            targetHeight: targetHeight,
            targetWidth: targetWidth,
            encodingType: encodingType,
            saveToPhotoAlbum: saveToPhotoAlbum
        }, successCallback, errorCallback);
    }
function ( ) { window . removeEventListener ( "focus" , savePhotoOnFocus ) ; // call only when the app is in focus again savePhoto ( cameraPicture , { destinationType : destinationType , targetHeight : targetHeight , targetWidth : targetWidth , encodingType : encodingType , saveToPhotoAlbum : saveToPhotoAlbum } , successCallback , errorCallback ) ; }
define focus handler for windows phone 10.0
define focus handler for windows phone 10 . 0