Close an HDR session.
#include <camera/camera_hdr.h>
void camera_hdr_destroy(camera_hdr_t hdr)
BlackBerry 10.3.0
The HDR session handle obtained from a call to camera_hdr_create(). This handle is no longer valid after this function returns.
This function releases any memory associated with the session and blocks until all outstanding HDR operations are complete. Do not call this function from the context of an HDR callback function, otherwise a deadlock scenario can occur.