1# photo_native.h
2
3
4## Overview
5
6The **camera_input.h** file declares the camera photo concepts.
7
8**Library**: libohcamera.so
9
10**File to include**: <ohcamera/photo_native.h>
11
12**System capability**: SystemCapability.Multimedia.Camera.Core
13
14**Since**: 12
15
16**Related module**: [OH_Camera](_o_h___camera.md)
17
18
19## Summary
20
21
22### Types
23
24| Name| Description|
25| -------- | -------- |
26| typedef struct [OH_PhotoNative](_o_h___camera.md#oh_photonative) [OH_PhotoNative](_o_h___camera.md#oh_photonative) | Defines a struct for the camera photo object.|
27
28
29### Functions
30
31| Name| Description|
32| -------- | -------- |
33| [Camera_ErrorCode](_o_h___camera.md#camera_errorcode) [OH_PhotoNative_GetMainImage](_o_h___camera.md#oh_photonative_getmainimage) ([OH_PhotoNative](_o_h___camera.md#oh_photonative) \*photo, OH_ImageNative \*\*mainImage) | Obtains a full quality photo.|
34| [Camera_ErrorCode](_o_h___camera.md#camera_errorcode) [OH_PhotoNative_Release](_o_h___camera.md#oh_photonative_release) ([OH_PhotoNative](_o_h___camera.md#oh_photonative) \*photo) | Releases a full quality photo.|
35