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:
To learn more about the camera and how to use it in your apps, visit the Camera documentation.