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)

Arguments:

Library:

libcamapi

Description:

The API 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.

Returns:

A value representing the version of the Camera library.