Retrieve the current focus mode of the camera.
#include <camera/camera_api.h>
camera_error_t camera_get_focus_mode(camera_handle_t handle,
camera_focusmode_t *mode)
BlackBerry 10.0.0
The handle returned by a call to the camera_open() function.
A pointer to a camera_focusmode_t value that is updated with the current focus mode of the camera.
Use this function to determine the currently configured focus mode of the camera.
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.