SL_DeviceProperties Struct Reference

Structure containing information about the properties of a camera. More...

Data Fields

enum SL_CAMERA_STATE camera_state
 State of the camera. More...
 
int id
 Id of the camera. More...
 
unsigned char path [512]
 System path of the camera.
 
enum SL_MODEL camera_model
 Model of the camera.
 
unsigned int sn
 Serial number of the camera. More...
 
enum SL_INPUT_TYPE input_type
 Input type of the camera.
 

Detailed Description

Structure containing information about the properties of a camera.

Note
A camera_model SL_MODEL_ZED_M with an id '-1' can be due to an inverted USB-C cable.

Field Documentation

◆ camera_state

enum SL_CAMERA_STATE SL_DeviceProperties::camera_state

State of the camera.

Default: SL_CAMERA_STATE_NOT_AVAILABLE

◆ id

int SL_DeviceProperties::id

Id of the camera.

Default: -1

◆ sn

unsigned int SL_DeviceProperties::sn

Serial number of the camera.

Default: 0

Warning
Not provided for Windows.