Module: camera

Methods

(static) choosePhoto(opt, callback)

Open the Gallery to chooose a photo
Parameters:
Name Type Description
opt Object Options passed to `Ti.Media.showCamera`
callback function Success callback
Source:

(static) selectPhoto(opt, callback)

Display an option dialog to prompt the user to take a photo with the camera or select a photo from the gallery
Parameters:
Name Type Description
opt Object Options passed to `Ti.Media.showCamera`
callback function Success callback
Source:

(static) takePhoto(opt, callback)

Open the Camera to take a photo
Parameters:
Name Type Description
opt Object Options passed to `Ti.Media.showCamera`
callback function Success callback
Source: