camera_get_api_version()

Retrieve the current build version of the Camera library

Synopsis:

#include <camera/camera_api.h>
int camera_get_api_version(void)

Library:

libcamapi

Description:

The API build version is useful to ensure that certain calls are available. You can use the returned value to compare to the CAMERA_API_VERSION to determine if the runtime library is different from the version your application was compiled with. Differences may indicate potential incompatibilities.

For more information about current and previous versions, see CAMERA_API_VERSION.

Returns:

A value representing the version of the Camera library.