Get the minimum and maximum supported number of images.
#include <camera/camera_hdr.h>
camera_error_t camera_hdr_get_supported_image_count(camera_hdr_t hdr,
uint32_t *min,
uint32_t *max)
BlackBerry 10.3.0
The HDR session handle obtained from a call to camera_hdr_create().
A pointer to the returned minimum number of images required.
A pointer to the returned maximum number of images supported.
The HDR algorithm requires a number of input images. The number of images must fall between the minimum and maximum value returned by this function (inclusive).
In Realtime HDR capture mode, the range returned by this function defines the number of exposure values that can be programmed using camera_hdr_set_exposure_values().
In Offline HDR rendering mode, the range returned by this function defines the number of images that can be added as inputs to the HDR session using camera_hdr_add_image_to_session().
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.