# OHOS::Media::Camera - [Overview](#section782472257165632) - [Summary](#section672881182165632) - [Public Member Functions](#pub-methods) - [Protected Member Functions](#pro-methods) ## **Overview** **Related Modules:** [MultiMedia\_Camera](MultiMedia_Camera.md) **Description:** Provides functions in the **[Camera](OHOS-Media-Camera.md)** class to implement camera operations. operations. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
~Camera ()=default |
A destructor used to delete the Camera instance. |
GetCameraId () |
|
GetCameraConfig () const |
virtual const CameraConfig * Obtains the camera configuration. You can use the obtained CameraConfig object to configure the camera. |
GetFrameConfig (int32_t type) |
virtual FrameConfig * |
Configure (CameraConfig &config) |
Configures the camera using the CameraConfig object. |
TriggerLoopingCapture (FrameConfig &frameConfig) |
|
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. |
Release () |
Releases the Camera object and associated resources. |
Camera ()=default |
A constructor used to create a Camera instance. |