[−][src]Function k4a_sys_temp::k4a_device_get_sync_jack
pub unsafe extern "C" fn k4a_device_get_sync_jack(
device_handle: k4a_device_t,
sync_in_jack_connected: *mut bool,
sync_out_jack_connected: *mut bool
) -> k4a_result_t
Get the device jack status for the synchronization in and synchronization out connectors.
\param device_handle Handle obtained by k4a_device_open().
\param sync_in_jack_connected Upon successful return this value will be set to true if a cable is connected to this sync in jack.
\param sync_out_jack_connected Upon successful return this value will be set to true if a cable is connected to this sync out jack.
\returns ::K4A_RESULT_SUCCEEDED if the connector status was successfully read.
\relates k4a_device_t
\remarks If \p sync_out_jack_connected is true then \ref k4a_device_configuration_t wired_sync_mode mode can be set to \ref K4A_WIRED_SYNC_MODE_STANDALONE or \ref K4A_WIRED_SYNC_MODE_MASTER. If \p sync_in_jack_connected is true then \ref k4a_device_configuration_t wired_sync_mode mode can be set to \ref K4A_WIRED_SYNC_MODE_STANDALONE or \ref K4A_WIRED_SYNC_MODE_SUBORDINATE.
\see k4a_device_start_cameras()
\xmlonly