#[repr(transparent)]pub struct QarDeviceCategory(pub c_int);Expand description
@brief What kind of device a peer is (qar_peer_spec_get_category()).
For presentation, and the fallback when a viewer does not know the peer’s device id or family. A new device model never adds a value; only a new kind of device does. Treat an unnamed value as QAR_DEVICE_CATEGORY_UNKNOWN.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarDeviceCategory
impl QarDeviceCategory
Sourcepub const QAR_DEVICE_CATEGORY_UNKNOWN: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_UNKNOWN: QarDeviceCategory
Infrastructure, runtime, control, test targets and unrecognised devices.
Sourcepub const QAR_DEVICE_CATEGORY_DESKTOP_PC: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_DESKTOP_PC: QarDeviceCategory
A desktop or laptop PC (every source application by default).
Sourcepub const QAR_DEVICE_CATEGORY_SERVER: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_SERVER: QarDeviceCategory
A server machine.
Sourcepub const QAR_DEVICE_CATEGORY_HEADSET: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_HEADSET: QarDeviceCategory
A headset or glasses of any model.
Sourcepub const QAR_DEVICE_CATEGORY_VISUALIZER: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_VISUALIZER: QarDeviceCategory
A Visualizer receiver showing streams on the PC.
Sourcepub const QAR_DEVICE_CATEGORY_CAMERA: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_CAMERA: QarDeviceCategory
A camera of any model: its capture process. (A build before QAR_DEVICE_CATEGORY_OBSERVER also used it for a camera’s receiver.)
Sourcepub const QAR_DEVICE_CATEGORY_OBSERVER: QarDeviceCategory
pub const QAR_DEVICE_CATEGORY_OBSERVER: QarDeviceCategory
A target app that sees the scene through a camera: it blends a camera’s RGB-D frames and pose with the mixer’s stream. Its device id and name are the camera’s. Never declared by an application.