CAMERA_HANDLE_INVALID

A safe-initializer value for camera_handle_t values.

Synopsis:

#include <camera/camera_api.h>
 
#define CAMERA_HANDLE_INVALID (-1)

Library:

libcamapi

Description:

Use this value to check that correct initialization occurred and whether a call to the camera_open() function was successful. A camera handle should be set to this value during initialization or when the handle is closed.