Camera
With Cascades and the Camera class, you can create apps that allow your users to take photos and record video.
The Camera APIs allow your apps to interact directly with the camera hardware. You can use the following APIs to display the camera viewfinder, set the properties for the Camera control, and help your app handle any errors that might occur while using the camera:
-
Camera: This API gives your app access to the camera hardware, and provides the basic functionality needed to use the camera.
-
CameraError: This API provides your app with error reason codes.
-
CameraFlashMode: This API defines flash mode selector values.
-
CameraFocusMode: This API defines focus mode selector values.
-
CameraFocusState: This API defines focus state identifier values.
-
CameraMode: This API defines Camera mode selection values.
-
CameraSceneMode: This API defines Camera scene mode selector values.
-
CameraSettings: This API is a container class that holds the properties that define the behavior of the camera. Camera settings must be passed as parameters to the applySettings() function. Each property's changed signals are implemented by this API, and are emitted when their corresponding property values have changed. The emission of a property's changed signal does not indicate that the property setting was successfully applied.
-
CameraShootingMode: This API defines capture selector values.
-
CameraUnit: This API defines the following camera unit identifier values: None = 0, Front = 1, Rear = 2.
Last modified: 2013-05-10