Determine if the frame type specified allows for window creation
#include <camera/camera_api.h>
bool camera_is_create_window_supported(camera_handle_t handle, camera_frametype_t frametype)
Before calling camera_start_viewfinder() with CAMERA_IMGPROP_CREATEWINDOW set to true it is recommended to check if the device/frame type combination allows a window to be created.
true when the device allows window creation for the specified frame type, otherwise a value of false.