harmony 鸿蒙camera_device.h

  • 2025-06-12
  • 浏览 (4)

camera_device.h

Overview

The camera.h file declares the basic concepts of the camera device.

Library: libohcamera.so

File to include: <ohcamera/camera_device.h>

System capability: SystemCapability.Multimedia.Camera.Core

Since: 12

Related module: OH_Camera

Summary

Functions

Name Description
Camera_ErrorCode OH_CameraDevice_GetCameraOrientation (Camera_Device *camera, uint32_t *orientation) Obtains the sensor direction of a camera device.
Camera_ErrorCode OH_CameraDevice_GetHostDeviceName (Camera_Device *camera, char **hostDeviceName) Obtains the name of a remote device.
Camera_ErrorCode OH_CameraDevice_GetHostDeviceType (Camera_Device *camera, Camera_HostDeviceType *hostDeviceType) Obtains the type of a remote device.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Camera Kit

harmony 鸿蒙Camera_CaptureEndInfo

harmony 鸿蒙Camera_CaptureStartInfo

harmony 鸿蒙Camera_ConcurrentInfo

harmony 鸿蒙Camera_Device

harmony 鸿蒙Camera_FrameRateRange

harmony 鸿蒙Camera_FrameShutterEndInfo

harmony 鸿蒙Camera_FrameShutterInfo

harmony 鸿蒙Camera_Location

harmony 鸿蒙Camera_MetadataObject

0  赞