public static extern k4a_result_t k4a_device_open(UInt32 index, out k4a_device_t device_handle);
public static extern k4a_buffer_result_t k4a_device_get_serialnum(k4a_device_t device_handle, StringBuilder serial_number, ref UIntPtr data_size);
public static extern k4a_result_t k4a_device_start_imu(k4a_device_t device_handle);
public static extern void k4a_device_stop_imu(k4a_device_t device_handle);
public static extern k4a_result_t k4a_device_start_cameras(k4a_device_t device_handle, [In] ref k4a_device_configuration_t config);
public static extern void k4a_device_stop_cameras(k4a_device_t device_handle);
public static extern k4a_buffer_result_t k4a_device_get_raw_calibration(k4a_device_t device_handle, [Out] byte[] data, ref UIntPtr data_size);
public static extern k4a_result_t k4a_device_get_color_control(k4a_device_t device_handle, ColorControlCommand command, out ColorControlMode mode, out Int32 value);
public static extern k4a_result_t k4a_device_get_sync_jack( k4a_device_t device_handle, out bool sync_in_jack_connected, out bool sync_out_jack_connected);
public static extern k4a_result_t k4a_device_get_version( k4a_device_t device_handle, out k4a_hardware_version_t version);
public static extern k4a_wait_result_t k4a_device_get_imu_sample( k4a_device_t device_handle, ImuSample imu_sample, Int32 timeout_in_ms);
public static extern k4a_wait_result_t k4a_device_get_capture( k4a_device_t device_handle, out k4a_capture_t capture_handle, Int32 timeout_in_ms);
public static extern k4a_result_t k4a_device_get_calibration( k4a_device_t device_handle, DepthMode depth_mode, ColorResolution color_resolution, out Calibration calibration);
public static extern k4a_result_t k4a_device_set_color_control(k4a_device_t device_handle, ColorControlCommand command, ColorControlMode mode, int value);
public static extern k4a_wait_result_t k4a_device_get_imu_sample( k4a_device_t device_handle, [Out] k4a_imu_sample_t imu_sample, int timeout_in_ms);