camera_unit_t

Represents the cameras on the device.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_UNIT_NONE = 0   
      CAMERA_UNIT_FRONT   
      CAMERA_UNIT_REAR   
      CAMERA_UNIT_DESKTOP   
      CAMERA_UNIT_SECONDARY_DESKTOP   
      CAMERA_UNIT_NUM_UNITS   
} camera_unit_t;

Data:

CAMERA_UNIT_NONE
No camera is available on the device.
CAMERA_UNIT_FRONT
The camera on the front of the device.
CAMERA_UNIT_REAR
The camera on the rear of the device.
CAMERA_UNIT_DESKTOP
The virtual desktop camera used for sharing your desktop.

Sharing your desktop is a capability that's available for some devices.

CAMERA_UNIT_SECONDARY_DESKTOP
The virtual secondary desktop camera used for sharing your secondary screen desktop output.

Sharing your secondary desktop is a capability that's available for some devices.

CAMERA_UNIT_NUM_UNITS
For internal use only.

The value is used to size the array for the maximum number of cameras supported.

Library:

libcamapi

Description:

Cameras can be physically located on the front and rear of a device. It is possible for devices to have more than two cameras.

Last modified: 2013-12-21

comments powered by Disqus