Retrieve the supported range of zoom levels and whether smooth zooming is supported by the camera.
camera_error_t camera_get_zoom_limits(camera_handle_t handle, unsigned int *min_level, unsigned int *max_level, bool *smooth)
The handle returned by a call to the camera_open() function.
A pointer to an int value that is populated with the minimal zoom level supported by the camera.
A pointer to an int value that is populated with the maximum zoom level supported by the camera.
A pointer to a boolean value that is populated when the call completes. A value of true indicates that smooth zooming is supported by the camera.
Not all cameras support smooth zooming.