camera_get_api_version()

Updated: May 06, 2022

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 compare the returned value to the CAMERA_API_VERSION to determine if the runtime library version 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.