• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# camera.h
2<!--Kit: Camera Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @qano-->
5<!--SE: @leo_ysl-->
6<!--TSE: @xchaosioda-->
7
8## Overview
9
10The file declares the basic concepts of the camera.
11
12**File to include**: <ohcamera/camera.h>
13
14**Library**: libohcamera.so
15
16**System capability**: SystemCapability.Multimedia.Camera.Core
17
18**Since**: 11
19
20**Related module**: [OH_Camera](capi-oh-camera.md)
21
22## Summary
23
24### Structs
25
26| Name| typedef Keyword| Description|
27| -- | -- | -- |
28| [Camera_Size](capi-oh-camera-camera-size.md) | Camera_Size | Describes the parameters related to the size.|
29| [Camera_Profile](capi-oh-camera-camera-profile.md) | Camera_Profile | Describes the profile of a camera stream.|
30| [Camera_FrameRateRange](capi-oh-camera-camera-frameraterange.md) | Camera_FrameRateRange | Describes the frame rate range.|
31| [Camera_VideoProfile](capi-oh-camera-camera-videoprofile.md) | Camera_VideoProfile | Describes the video profile.|
32| [Camera_OutputCapability](capi-oh-camera-camera-outputcapability.md) | Camera_OutputCapability | Describes the camera output capability.|
33| [Camera_Device](capi-oh-camera-camera-device.md) | Camera_Device | Describes the camera device.|
34| [Camera_StatusInfo](capi-oh-camera-camera-statusinfo.md) | Camera_StatusInfo | Describes the camera status information.|
35| [Camera_Point](capi-oh-camera-camera-point.md) | Camera_Point | Describes the parameters related to a point.|
36| [Camera_Location](capi-oh-camera-camera-location.md) | Camera_Location | Describes the location where the photo is taken.|
37| [Camera_PhotoCaptureSetting](capi-oh-camera-camera-photocapturesetting.md) | Camera_PhotoCaptureSetting | Describes the parameters related to photo capture.|
38| [Camera_FrameShutterInfo](capi-oh-camera-camera-frameshutterinfo.md) | Camera_FrameShutterInfo | Describes the frame shutter information.|
39| [Camera_CaptureEndInfo](capi-oh-camera-camera-captureendinfo.md) | Camera_CaptureEndInfo | Describes the capture end information.|
40| [Camera_Rect](capi-oh-camera-camera-rect.md) | Camera_Rect | Defines the rectangle.|
41| [Camera_MetadataObject](capi-oh-camera-camera-metadataobject.md) | Camera_MetadataObject | Describes the camera metadata.|
42| [Camera_TorchStatusInfo](capi-oh-camera-camera-torchstatusinfo.md) | Camera_TorchStatusInfo | Describes the flashlight status information.|
43| [Camera_SmoothZoomInfo](capi-oh-camera-camera-smoothzoominfo.md) | Camera_SmoothZoomInfo | Describes the smooth zoom information.|
44| [Camera_CaptureStartInfo](capi-oh-camera-camera-capturestartinfo.md) | Camera_CaptureStartInfo | Describes the capture start information.|
45| [Camera_FrameShutterEndInfo](capi-oh-camera-camera-frameshutterendinfo.md) | Camera_FrameShutterEndInfo | Describes the frame shutter end information during capture.|
46| [Camera_FoldStatusInfo](capi-oh-camera-camera-foldstatusinfo.md) | Camera_FoldStatusInfo | Describes the fold status information of the camera.|
47| [Camera_AutoDeviceSwitchStatusInfo](capi-oh-camera-camera-autodeviceswitchstatusinfo.md) | Camera_AutoDeviceSwitchStatusInfo | Describes the automatic device switching status information.|
48| [Camera_ConcurrentInfo](capi-oh-camera-camera-concurrentinfo.md) | Camera_ConcurrentInfo | Describes the camera's concurrency information.|
49| [Camera_ControlCenterStatusInfo](capi-oh-camera-camera-controlcenterstatusinfo.md) | Camera_ControlCenterStatusInfo | Describes the effect status information of a camera controller.|
50| [Camera_Manager](capi-oh-camera-camera-manager.md) | Camera_Manager | Describes the camera manager.<br>You can call [OH_Camera_GetCameraManager](#oh_camera_getcameramanager) to create such an object.|
51
52### Enums
53
54| Name| typedef Keyword| Description|
55| -- | -- | -- |
56| [Camera_ErrorCode](#camera_errorcode) | Camera_ErrorCode | Enumerates the camera error codes.|
57| [Camera_Status](#camera_status) | Camera_Status | Enumerates the camera statuses.|
58| [Camera_SceneMode](#camera_scenemode) | Camera_SceneMode | Enumerates the camera scene modes.|
59| [Camera_Position](#camera_position) | Camera_Position | Enumerates the camera positions.|
60| [Camera_Type](#camera_type) | Camera_Type | Enumerates the camera types.|
61| [Camera_Connection](#camera_connection) | Camera_Connection | Enumerates the camera connection types.|
62| [Camera_Format](#camera_format) | Camera_Format | Enumerates the camera output formats.|
63| [Camera_FlashMode](#camera_flashmode) | Camera_FlashMode | Enumerates the flash modes.|
64| [Camera_ExposureMode](#camera_exposuremode) | Camera_ExposureMode | Enumerates the exposure modes.|
65| [Camera_FocusMode](#camera_focusmode) | Camera_FocusMode | Enumerates the focus modes.|
66| [Camera_FocusState](#camera_focusstate) | Camera_FocusState | Enumerates the focus states.|
67| [Camera_VideoStabilizationMode](#camera_videostabilizationmode) | Camera_VideoStabilizationMode | Enumerates the video stabilization modes.|
68| [Camera_ImageRotation](#camera_imagerotation) | Camera_ImageRotation | Enumerates the image rotation angles.|
69| [Camera_QualityLevel](#camera_qualitylevel) | Camera_QualityLevel | Enumerates the image quality levels.|
70| [Camera_MetadataObjectType](#camera_metadataobjecttype) | Camera_MetadataObjectType | Enumerates the metadata object types.|
71| [Camera_TorchMode](#camera_torchmode) | Camera_TorchMode | Enumerates the flashlight modes.|
72| [Camera_SmoothZoomMode](#camera_smoothzoommode) | Camera_SmoothZoomMode | Enumerates the smooth zoom modes.|
73| [Camera_SystemPressureLevel](#camera_systempressurelevel) | Camera_SystemPressureLevel | Enumerates the system pressure levels.|
74| [Camera_PreconfigType](#camera_preconfigtype) | Camera_PreconfigType | Enumerates the preconfigured photo resolution types.|
75| [Camera_PreconfigRatio](#camera_preconfigratio) | Camera_PreconfigRatio | Enumerates the preconfigured photo aspect ratios.|
76| [Camera_HostDeviceType](#camera_hostdevicetype) | Camera_HostDeviceType | Enumerates the remote device types.|
77| [Camera_FoldStatus](#camera_foldstatus) | Camera_FoldStatus | Enumerates the fold statuses.|
78| [Camera_QualityPrioritization](#camera_qualityprioritization) | Camera_QualityPrioritization | Enumerates the priority levels for video recording quality.|
79| [Camera_ConcurrentType](#camera_concurrenttype) | Camera_ConcurrentType | Enumerates the camera's concurrency types.|
80| [Camera_WhiteBalanceMode](#camera_whitebalancemode) | Camera_WhiteBalanceMode | Enumerates the white balance modes.|
81| [Camera_ControlCenterEffectType](#camera_controlcentereffecttype) | Camera_ControlCenterEffectType | Enumerates the effect types of a camera controller.|
82
83### Functions
84
85| Name| Description|
86| -- | -- |
87| [Camera_ErrorCode OH_Camera_GetCameraManager(Camera_Manager** cameraManager)](#oh_camera_getcameramanager) | Obtains a Camera_Manager instance.|
88| [Camera_ErrorCode OH_Camera_DeleteCameraManager(Camera_Manager* cameraManager)](#oh_camera_deletecameramanager) | Deletes a Camera_Manager instance.|
89
90## Enum Description
91
92### Camera_ErrorCode
93
94```
95enum Camera_ErrorCode
96```
97
98**Description**
99
100Enumerates the camera error codes.
101
102**Since**: 11
103
104| Enum Item| Description|
105| -- | -- |
106| CAMERA_OK = 0 | The camera is normal.|
107| CAMERA_INVALID_ARGUMENT = 7400101 | A parameter is missing or the parameter type is incorrect.|
108| CAMERA_OPERATION_NOT_ALLOWED = 7400102 | The operation is not allowed.|
109| CAMERA_SESSION_NOT_CONFIG = 7400103 | The session is not configured.|
110| CAMERA_SESSION_NOT_RUNNING = 7400104 | The session is not running.|
111| CAMERA_SESSION_CONFIG_LOCKED = 7400105 | The session configuration is locked.|
112| CAMERA_DEVICE_SETTING_LOCKED = 7400106 | The device setting is locked.|
113| CAMERA_CONFLICT_CAMERA = 7400107 | The device is already started.|
114| CAMERA_DEVICE_DISABLED = 7400108 | The camera is disabled for security reasons.|
115| CAMERA_DEVICE_PREEMPTED = 7400109 | The camera is preempted.|
116| CAMERA_UNRESOLVED_CONFLICTS_WITH_CURRENT_CONFIGURATIONS = 7400110 | The configuration conflicts with the current configuration.<br>**Since**: 12|
117| CAMERA_SERVICE_FATAL_ERROR = 7400201 | A fatal error occurs in the camera service, for example, no camera permission, camera service restart, or abnormal cross-process invocation.|
118
119### Camera_Status
120
121```
122enum Camera_Status
123```
124
125**Description**
126
127Enumerates the camera statuses.
128
129**Since**: 11
130
131| Enum Item| Description|
132| -- | -- |
133| CAMERA_STATUS_APPEAR = 0 | A camera appears.|
134| CAMERA_STATUS_DISAPPEAR = 1 | The camera disappears.|
135| CAMERA_STATUS_AVAILABLE = 2 | The camera is available.|
136| CAMERA_STATUS_UNAVAILABLE = 3 | The camera is unavailable.|
137
138### Camera_SceneMode
139
140```
141enum Camera_SceneMode
142```
143
144**Description**
145
146Enumerates the camera scene modes.
147
148**Since**: 12
149
150| Enum Item| Description|
151| -- | -- |
152| NORMAL_PHOTO = 1 | Normal photo mode.|
153| NORMAL_VIDEO = 2 | Normal video mode.|
154| SECURE_PHOTO = 12 | Secure mode.|
155
156### Camera_Position
157
158```
159enum Camera_Position
160```
161
162**Description**
163
164Enumerates the camera positions.
165
166**Since**: 11
167
168| Enum Item| Description|
169| -- | -- |
170| CAMERA_POSITION_UNSPECIFIED = 0 | A camera that does not have a fixed orientation relative to the device screen.|
171| CAMERA_POSITION_BACK = 1 | Rear camera.|
172| CAMERA_POSITION_FRONT = 2 | Front camera.|
173
174### Camera_Type
175
176```
177enum Camera_Type
178```
179
180**Description**
181
182Enumerates the camera types.
183
184**Since**: 11
185
186| Enum Item| Description|
187| -- | -- |
188| CAMERA_TYPE_DEFAULT = 0 | Default camera type.|
189| CAMERA_TYPE_WIDE_ANGLE = 1 | Wide camera.|
190| CAMERA_TYPE_ULTRA_WIDE = 2 | Ultra wide camera.|
191| CAMERA_TYPE_TELEPHOTO = 3 | Telephoto camera.|
192| CAMERA_TYPE_TRUE_DEPTH = 4 | Camera with depth of field information.|
193
194### Camera_Connection
195
196```
197enum Camera_Connection
198```
199
200**Description**
201
202Enumerates the camera connection types.
203
204**Since**: 11
205
206| Enum Item| Description|
207| -- | -- |
208| CAMERA_CONNECTION_BUILT_IN = 0 | Built-in camera.|
209| CAMERA_CONNECTION_USB_PLUGIN = 1 | Camera connected using USB.|
210| CAMERA_CONNECTION_REMOTE = 2 | Remote camera.|
211
212### Camera_Format
213
214```
215enum Camera_Format
216```
217
218**Description**
219
220Enumerates the camera output formats.
221
222**Since**: 11
223
224| Enum Item| Description|
225| -- | -- |
226| CAMERA_FORMAT_RGBA_8888 = 3 | RGBA 8888.|
227| CAMERA_FORMAT_YUV_420_SP = 1003 | YUV 420 SP.|
228| CAMERA_FORMAT_JPEG = 2000 | JPEG.|
229| CAMERA_FORMAT_YCBCR_P010 = 2001 | YCBCR P010.<br>**Since**: 12|
230| CAMERA_FORMAT_YCRCB_P010 = 2002 | YCRCB P010.<br>**Since**: 12|
231
232### Camera_FlashMode
233
234```
235enum Camera_FlashMode
236```
237
238**Description**
239
240Enumerates the flash modes.
241
242**Since**: 11
243
244| Enum Item| Description|
245| -- | -- |
246| FLASH_MODE_CLOSE = 0 | The flash is off.|
247| FLASH_MODE_OPEN = 1 | The flash is on.|
248| FLASH_MODE_AUTO = 2 | The flash mode is auto.|
249| FLASH_MODE_ALWAYS_OPEN = 3 | The flash is steady on.|
250
251### Camera_ExposureMode
252
253```
254enum Camera_ExposureMode
255```
256
257**Description**
258
259Enumerates the exposure modes.
260
261**Since**: 11
262
263| Enum Item| Description|
264| -- | -- |
265| EXPOSURE_MODE_LOCKED = 0 | Exposure locked.|
266| EXPOSURE_MODE_AUTO = 1 | Auto exposure.|
267| EXPOSURE_MODE_CONTINUOUS_AUTO = 2 | Continuous auto exposure.|
268
269### Camera_FocusMode
270
271```
272enum Camera_FocusMode
273```
274
275**Description**
276
277Enumerates the focus modes.
278
279**Since**: 11
280
281| Enum Item| Description|
282| -- | -- |
283| FOCUS_MODE_MANUAL = 0 | Manual focus.|
284| FOCUS_MODE_CONTINUOUS_AUTO = 1 | Continuous auto focus.|
285| FOCUS_MODE_AUTO = 2 | Auto focus.|
286| FOCUS_MODE_LOCKED = 3 | Focus locked.|
287
288### Camera_FocusState
289
290```
291enum Camera_FocusState
292```
293
294**Description**
295
296Enumerates the focus states.
297
298**Since**: 11
299
300| Enum Item| Description|
301| -- | -- |
302| FOCUS_STATE_SCAN = 0 | Focusing.|
303| FOCUS_STATE_FOCUSED = 1 | Focused.|
304| FOCUS_STATE_UNFOCUSED = 2 | Unfocused.|
305
306### Camera_VideoStabilizationMode
307
308```
309enum Camera_VideoStabilizationMode
310```
311
312**Description**
313
314Enumerates the video stabilization modes.
315
316**Since**: 11
317
318| Enum Item| Description|
319| -- | -- |
320| STABILIZATION_MODE_OFF = 0 | Video stabilization is disabled.|
321| STABILIZATION_MODE_LOW = 1 | The basic video stabilization algorithm is used.|
322| STABILIZATION_MODE_MIDDLE = 2 | A video stabilization algorithm with a stabilization effect better than that of the **LOW** type is used.|
323| STABILIZATION_MODE_HIGH = 3 | A video stabilization algorithm with a stabilization effect better than that of the **MIDDLE** type is used.|
324| STABILIZATION_MODE_AUTO = 4 | Automatic video stabilization is used. This value is available for HDF cameras.|
325
326### Camera_ImageRotation
327
328```
329enum Camera_ImageRotation
330```
331
332**Description**
333
334Enumerates the image rotation angles.
335
336**Since**: 11
337
338| Enum Item| Description|
339| -- | -- |
340| IAMGE_ROTATION_0 = 0 | The image rotates 0 degrees.|
341| IAMGE_ROTATION_90 = 90 | The image rotates 90 degrees.|
342| IAMGE_ROTATION_180 = 180 | The image rotates 180 degrees.|
343| IAMGE_ROTATION_270 = 270 | The image rotates 270 degrees.|
344
345### Camera_QualityLevel
346
347```
348enum Camera_QualityLevel
349```
350
351**Description**
352
353Enumerates the image quality levels.
354
355**Since**: 11
356
357| Enum Item| Description|
358| -- | -- |
359| QUALITY_LEVEL_HIGH = 0 | High image quality.|
360| QUALITY_LEVEL_MEDIUM = 1 | Medium image quality.|
361| QUALITY_LEVEL_LOW = 2 | Low image quality.|
362
363### Camera_MetadataObjectType
364
365```
366enum Camera_MetadataObjectType
367```
368
369**Description**
370
371Enumerates the metadata object types.
372
373**Since**: 11
374
375| Enum Item| Description|
376| -- | -- |
377| FACE_DETECTION = 0 | Metadata object used for face detection.<br>The detection point must be in the coordinate system (0-1), where the upper left corner is (0, 0) and the lower right corner is (1, 1).<br>The coordinate system is based on the horizontal device direction with the device's charging port on the right.<br>If the layout of the preview screen of an application is based on the vertical direction with the charging port on the lower side, the layout width and height are {w, h}, and the returned point is {x, y}, then the coordinate point after conversion is (1-y, x).|
378
379### Camera_TorchMode
380
381```
382enum Camera_TorchMode
383```
384
385**Description**
386
387Enumerates the flashlight modes.
388
389**Since**: 12
390
391| Enum Item| Description|
392| -- | -- |
393| OFF = 0 | The flashlight is always off.|
394| ON = 1 | The flashlight is always on.|
395| AUTO = 2 | The flashlight will be turned on automatically based on the ambient lighting level.|
396
397### Camera_SmoothZoomMode
398
399```
400enum Camera_SmoothZoomMode
401```
402
403**Description**
404
405Enumerates the smooth zoom modes.
406
407**Since**: 12
408
409| Enum Item| Description|
410| -- | -- |
411| NORMAL = 0 | Bessel curve mode.|
412
413### Camera_SystemPressureLevel
414
415```
416enum Camera_SystemPressureLevel
417```
418
419**Description**
420
421Enumerates the system pressure levels.
422
423**Since**: 20
424
425| Enum Item| Description|
426| -- | -- |
427| SYSTEM_PRESSURE_NORMAL = 0 | The system pressure is normal.|
428| SYSTEM_PRESSURE_MILD = 1 | The system pressure is elevated but not actively managed by the system.|
429| SYSTEM_PRESSURE_SEVERE = 2 | The system pressure may affect the overall image quality and performance.|
430| SYSTEM_PRESSURE_CRITICAL = 3 | The system pressure has a significant impact on the image quality and performance.|
431| SYSTEM_PRESSURE_SHUTDOWN = 4 | The system pressure is too high, causing the system to shut down.|
432
433### Camera_PreconfigType
434
435```
436enum Camera_PreconfigType
437```
438
439**Description**
440
441Enumerates the preconfigured photo resolution types.
442
443**Since**: 12
444
445| Enum Item| Description|
446| -- | -- |
447| PRECONFIG_720P = 0 | 720p resolution.|
448| PRECONFIG_1080P = 1 | 1080p resolution.|
449| PRECONFIG_4K = 2 | 4K resolution.|
450| PRECONFIG_HIGH_QUALITY = 3 | High-quality photos.|
451
452### Camera_PreconfigRatio
453
454```
455enum Camera_PreconfigRatio
456```
457
458**Description**
459
460Enumerates the preconfigured photo aspect ratios.
461
462**Since**: 12
463
464| Enum Item| Description|
465| -- | -- |
466| PRECONFIG_RATIO_1_1 = 0 | 1:1 aspect ratio.|
467| PRECONFIG_RATIO_4_3 = 1 | 4:3 aspect ratio.|
468| PRECONFIG_RATIO_16_9 = 2 | 16:9 aspect ratio.|
469
470### Camera_HostDeviceType
471
472```
473enum Camera_HostDeviceType
474```
475
476**Description**
477
478Enumerates the remote device types.
479
480**Since**: 15
481
482| Enum Item| Description|
483| -- | -- |
484| HOST_DEVICE_TYPE_UNKNOWN_TYPE = 0 | Unknown type.|
485| HOST_DEVICE_TYPE_PHONE = 0x0E | Mobile phone.|
486| HOST_DEVICE_TYPE_TABLET = 0x11 | Tablet.|
487
488### Camera_FoldStatus
489
490```
491enum Camera_FoldStatus
492```
493
494**Description**
495
496Enumerates the fold statuses.
497
498**Since**: 13
499
500| Enum Item| Description|
501| -- | -- |
502| NON_FOLDABLE = 0 | Unfoldable.|
503| EXPANDED = 1 | Unfolded.|
504| FOLDED = 2 | Folded.|
505
506### Camera_QualityPrioritization
507
508```
509enum Camera_QualityPrioritization
510```
511
512**Description**
513
514Enumerates the priority levels for video recording quality.
515
516**Since**: 14
517
518| Enum Item| Description|
519| -- | -- |
520| HIGH_QUALITY = 0 | Prioritizes high-quality video recording.|
521| POWER_BALANCE = 1 | Prioritizes video recording quality while balancing power consumption.|
522
523### Camera_ConcurrentType
524
525```
526enum Camera_ConcurrentType
527```
528
529**Description**
530
531Enumerates the camera's concurrency types.
532
533**Since**: 18
534
535| Enum Item| Description|
536| -- | -- |
537| CAMERA_CONCURRENT_TYPE_LIMITED_CAPABILITY  = 0 | Limited camera concurrency.|
538| CAMERA_CONCURRENT_TYPE_FULL_CAPABILITY = 1 | Full camera concurrency.|
539
540### Camera_WhiteBalanceMode
541
542```
543enum Camera_WhiteBalanceMode
544```
545
546**Description**
547
548Enumerates the white balance modes.
549
550**Since**: 20
551
552| Enum Item| Description|
553| -- | -- |
554| CAMERA_WHITE_BALANCE_MODE_AUTO = 0 | Automatic.|
555| CAMERA_WHITE_BALANCE_MODE_CLOUDY = 1 | Cloudy.|
556| CAMERA_WHITE_BALANCE_MODE_INCANDESCENT = 2 | Incandescent light.|
557| CAMERA_WHITE_BALANCE_MODE_FLUORESCENT = 3 | Fluorescence light.|
558| CAMERA_WHITE_BALANCE_MODE_DAYLIGHT = 4 | Daylight.|
559| CAMERA_WHITE_BALANCE_MODE_MANUAL = 5 | Manual.|
560| CAMERA_WHITE_BALANCE_MODE_LOCKED = 6 | Locked.|
561
562### Camera_ControlCenterEffectType
563
564```
565enum Camera_ControlCenterEffectType
566```
567
568**Description**
569
570Enumerates the effect types of a camera controller.
571
572**Since**: 20
573
574| Enum Item| Description|
575| -- | -- |
576| CONTROL_CENTER_EFFECT_TYPE_BEAUTY = 0 | Beauty effect.|
577| CONTROL_CENTER_EFFECT_TYPE_PORTRAIT = 1 | Portrait blur effect.|
578
579
580## Function Description
581
582### OH_Camera_GetCameraManager()
583
584```
585Camera_ErrorCode OH_Camera_GetCameraManager(Camera_Manager** cameraManager)
586```
587
588**Description**
589
590Obtains a Camera_Manager instance.
591
592**Since**: 11
593
594
595**Parameters**
596
597| Name| Description|
598| -- | -- |
599| [Camera_Manager](capi-oh-camera-camera-manager.md)** cameraManager | Double pointer to the Camera_Manager instance created, if the function is successfully called.|
600
601**Returns**
602
603| Type| Description|
604| -- | -- |
605| [Camera_ErrorCode](#camera_errorcode) | **CAMERA_OK**: The operation is successful.<br>**CAMERA_INVALID_ARGUMENT**: A parameter is missing or the parameter type is incorrect.<br>**CAMERA_SERVICE_FATAL_ERROR**: A fatal error occurs in the camera service.|
606
607### OH_Camera_DeleteCameraManager()
608
609```
610Camera_ErrorCode OH_Camera_DeleteCameraManager(Camera_Manager* cameraManager)
611```
612
613**Description**
614
615Deletes a Camera_Manager instance.
616
617**Since**: 11
618
619
620**Parameters**
621
622| Name| Description|
623| -- | -- |
624| [Camera_Manager](capi-oh-camera-camera-manager.md)* cameraManager | Pointer to the target Camera_Manager instance.|
625
626**Returns**
627
628| Type| Description|
629| -- | -- |
630| [Camera_ErrorCode](#camera_errorcode) | **CAMERA_OK**: The operation is successful.<br>**CAMERA_INVALID_ARGUMENT**: A parameter is missing or the parameter type is incorrect.<br>**CAMERA_SERVICE_FATAL_ERROR**: A fatal error occurs in the camera service.|
631