Configure reporting of viewfinder histogram metadata.
#include <camera/camera_api.h>
camera_error_t camera_config_vf_histogram(camera_handle_t handle,
bool enable)
BlackBerry 10.2.0
The handle returned by a call to the camera_open() function.
Enable histogram data reporting. Set to true to enable, false otherwise.
Use this function to enable viewfinder histogram reporting if supported on the camera. To determine whether histogram data is supported, call the camera_can_feature() function with the CAMERA_FEATURE_VFHISTOGRAM feature.
Viewfinder histogram metadata is processed using the functions in camera_meta.h.
The viewfinder must be running before using this function.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.