CameraRoll
CameraRoll provides access to the local camera roll / gallery.
Methods #
static saveImageWithTag(tag, successCallback, errorCallback) #
Saves the image to the camera roll / gallery.
The CameraRoll API is not yet implemented for Android.
@param {string} tag On Android, this is a local URI, such
as "file:///sdcard/img.png".
On iOS, the tag can be one of the following:
- local URI
- assets-library tag
- a tag not maching any of the above, which means the image data will be stored in memory (and consume memory as long as the process is alive)
@param successCallback Invoked with the value of tag on success.
@param errorCallback Invoked with error message on error.
static getPhotos(params, callback, errorCallback) #
 Invokes callback with photo identifier objects from the local camera
 roll of the device matching shape defined by getPhotosReturnChecker.
 @param {object} params See getPhotosParamChecker.
 @param {function} callback Invoked with arg of shape defined by
 getPhotosReturnChecker on success.
 @param {function} errorCallback Invoked with error message on error.