CAMERA_API_VERSION

The version of the Camera Library.

Synopsis:

#include <camera/camera_api.h>
 
#define CAMERA_API_VERSION 2

Library:

libcamapi

Description:

The version is used for IPC handshaking and communication between the application and camera service. You can compare CAMERA_API_VERSION with the value returned by the camera_get_api_version() function to determine if the runtime library is different from the version your application was compiled with. Differences may indicate potential incompatibilities.