Titanium.Media.showCamera

Function of Titanium.Media.
Platform Since
iPhone 0.1
iPad 0.1
Android 0.1

Summary

Shows the camera.

Description

By default, the native camera controls are displayed. To add your own camera controls, you can add an overlay view by setting the overlay property on the options argument.

iOS Platform Notes

To suppress the default controls, set showControls and autohide to false.

If the showControls option is false, you must control the camera explicitly, using the takePicture and hideCamera methods.

Arguments

Name Type Summary
options CameraOptionsType

A dictionary of camera options as described in CameraOptionsType.

Return Type

void