[][src]Function libeyelink_sys::eyelink_data_switch

pub unsafe extern "C" fn eyelink_data_switch(flags: UINT16) -> INT16

@ingroup messaging

Sets what data from tracker will be accepted and placed in queue.

@remarks This does not start the tracker recording, and so can be used with \c eyelink_broadcast_open(). It also does not clear old data from the queue. The data is set with a bitwise OR of these flags: \c RECORD_LINK_SAMPLES - send samples on link. \c RECORD_LINK_EVENTS - send events on link. @param flags Bitwise OR flags. @return \c 0 if OK else link error.

\b Example: See \c eyelink_in_data_block()

\sa \c eyelink_in_data_block()