diff --git a/docs/cameraroll.html b/docs/cameraroll.html index 7e344446209..95d9c520d32 100644 --- a/docs/cameraroll.html +++ b/docs/cameraroll.html @@ -1,11 +1,7 @@ -CameraRoll – React Native | A framework for building native apps using React

CameraRoll

CameraRoll provides access to the local camera roll / gallery.

Methods #

static saveImageWithTag(tag, successCallback, errorCallback) #

Saves the image to the camera roll / gallery.

@param {string} tag On Android, this is a local URI, such +CameraRoll – React Native | A framework for building native apps using React

CameraRoll

CameraRoll provides access to the local camera roll / gallery.

Methods #

static saveImageWithTag(tag: string) #

Saves the image to the camera roll / gallery.

@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 matching 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.

Edit on GitHubExamples #

'use strict'; +be stored in memory (and consume memory as long as the process is alive)

Returns a Promise which when resolved will be passed the new uri

static getPhotos(params: object) #

Returns a Promise with photo identifier objects from the local camera + roll of the device matching shape defined by getPhotosReturnChecker.

@param {object} params See getPhotosParamChecker.

Returns a Promise which when resolved will be of shape getPhotosReturnChecker

Edit on GitHubExamples #

'use strict'; const React = require('react-native'); const {