Retrieve the ID of the face that the 3A face-detection priority algorithms are currently tracking.
#include <camera/camera_api.h>
camera_error_t camera_get_3a_face_id(camera_handle_t handle,
uint32_t *id)
BlackBerry 10.2.0
The handle returned by a call to the camera_open() function.
A pointer to a uint32_t value that is updated with the ID of the face that is currently being tracked.
Use this function to query which face the 3A face-detection priority algorithms are currently operating on. If the user has previously selected a face to track using camera_set_3a_face_id(), then the returned ID will match the ID the user provided. If the user has not previously specified a face to track, then this function will return the ID of the face which the 3A face-priority algorithms have defaulted to tracking. You can only use this function after 3A algorithms are switched to face-detection priority mode using camera_set_3a_face_priority().
The viewfinder must be running before using this function.
CAMERA_EOK when the function successfully completes, CAMERA_ENODATA when there is no face being tracked, otherwise another camera_error_t value that provides the reason that the call failed.