Determine whether a feature is available on the camera in its current state
#include <camera/camera_api.h>
bool camera_can_feature(camera_handle_t handle, camera_feature_t feature)
The difference between this function and the camera_has_feature() function is that this function indicates the features on the camera are usable in the current camera state rather than just available.
Many developers may choose to use the set of usable features to disable specific UI elements in their application.
true when the specified feature is currently usable on the camera, otherwise a value of false.