camera_can_feature()
Determine whether a feature is usable on the camera in its current state
Synopsis:
#include <camera/camera_api.h>bool camera_can_feature(camera_handle_t handle,
camera_feature_t feature)Arguments:
- handle
- The handle returned by a call to the camera_open() function.
- feature
- The specific feature to query (see camera_feature_t).
Library:
libcamapiDescription:
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.
Returns:
true when the specified feature is currently usable on the camera, otherwise false.
Page updated:
