Camera
Integrate the camera in your application.
The APIs in this category let you interact with the camera on a device, directly from your apps. You can display the camera viewfinder, and control camera settings such as shooting mode, focus mode, and flash mode. You can also handle any errors that might occur while using the camera.
Libraries and permissions
To link against these classes, add the following line to your .pro file:
LIBS += -lcamapi -lscreen
You must also specify the following permissions in your bar-descriptor.xml file:
use_camera
Additional resources
To learn more about the camera and how to use it in your apps, visit the Camera documentation.
Members
- Camera
- CameraError
- CameraFlashMode
- CameraFocusMode
- CameraFocusState
- CameraMode -
Camera mode selection values.
- CameraSceneMode
- CameraSettings -
The CameraSettings class is used to query and to apply camera behavioral settings.
- CameraShootingMode
- CameraUnit -
Camera identifier values.