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)

Since:

BlackBerry 10.0.0

Arguments:

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

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.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus