# MultiMedia\_Camera - [Overview](#section1860299487165625) - [Summary](#section982156197165625) - [Files](#files) - [Data Structures](#nested-classes) - [Functions](#func-members) - [Details](#section461139492165625) - [Function](#section1840478202165625) - [Camera\(\)](#ga7df4eba3316a6fe7c623e420c0a295e5) - [Configure\(\)](#ga5f240a74fefa168cbf94b4603b76ef7b) - [GetCameraConfig\(\)](#ga04cc021b827824d0363037b630326264) - [GetCameraId\(\)](#ga4b6fec3c9290e7d388147dcdd288b918) - [GetFrameConfig\(\)](#ga4e3f97ac484b85cd221a996689a3de61) - [Release\(\)](#ga7986d17e54fe9cd77df9465287fa5643) - [StopLoopingCapture\(\)](#ga564c26b845affb1dbe05d4d7982ed1ad) - [TriggerLoopingCapture\(\)](#ga1cd68b1b385da5224dbfdb6993c5cf08) - [TriggerSingleCapture\(\)](#gac05d783b1655fe505a4afa23496d7e84) - [\~Camera\(\)](#gab24c0e4ca1e15bb2a481fb1550955611) ## **Overview** **Description:** Defines the **Camera** class for camera-related operations. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
Declares functions in the Camera class to implement camera operations. |
Provides functions in the Camera class to implement camera operations. operations. |
OHOS::Media::Camera::~Camera ()=default |
A destructor used to delete the Camera instance. |
OHOS::Media::Camera::GetCameraConfig () const |
virtual const CameraConfig * Obtains the camera configuration. You can use the obtained CameraConfig object to configure the camera. |
OHOS::Media::Camera::GetFrameConfig (int32_t type) |
virtual FrameConfig * |
OHOS::Media::Camera::Configure (CameraConfig &config) |
Configures the camera using the CameraConfig object. |
OHOS::Media::Camera::TriggerLoopingCapture (FrameConfig &frameConfig) |
|
OHOS::Media::Camera::TriggerSingleCapture (FrameConfig &frameConfig) |
Starts single-frame capture. The frame parameters are set through the FrameConfig object, and the captured image data is stored in the surface of the FrameConfig object. |
|
Releases the Camera object and associated resources. |
|
OHOS::Media::Camera::Camera ()=default |
A constructor used to create a Camera instance. |
| config | Indicates the pointer to the CameraConfig object. |
| type | Indicates the type of the frame configuration. |
| fc | Indicates the frame configuration. |
| fc | Indicates the frame configuration. |