[][src]Function realsense_sys::rs2_set_devices_changed_callback

pub unsafe extern "C" fn rs2_set_devices_changed_callback(
    context: *const rs2_context,
    callback: rs2_devices_changed_callback_ptr,
    user: *mut c_void,
    error: *mut *mut rs2_error
)

set callback to get devices changed events these events will be raised by the context whenever new RealSense device is connected or existing device gets disconnected \param context Object representing librealsense session \param[in] callback function pointer to register as per-notifications callback \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored