is_feature_capable_func_t

Updated: October 26, 2022

Query if a given feature is currently supported by the camera

Synopsis:

#include <camera/external_camera_api.h>
typedef bool(* is_feature_capable_func_t)(void *handle,
             camera_feature_t feature);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
capability
The feature to query (see camera_feature_t).

Library:

libcamapi

Description:

This function is called to determine if a given feature is supported by the camera in its current state.

Note:

This function is optional. If it is not present, a default set of features will be supported by the camera.

Returns:

true if the feature is supported, false otherwise