#[repr(C)]pub struct QarSessionInviteTargetAppInit {
pub header: QarStructureHeader,
pub connection_string: *const c_char,
}Expand description
@brief Ask this machine’s hub to start a target app for one AR device.
connection_string names the device kind and its address:
"hololens:<host>"— HoloLens"<host>"with no scheme — alias of"hololens:<host>"<host>is a hostname or an IP address; the two are interchangeable.
Only a HoloLens can be invited. An Android headset ("headset:<host>",
"quest:<host>", "android:<host>": Meta Quest, METALENSE, Android XR) is
never invited: it pairs itself once (Pair headset in the QAROS Visualizer, or
a QR code) and then joins the session on its own. Its invite is refused with
QAR_STATUS_HUB_TARGET_APP_DEVICE_NOT_INVITABLE. Anything else — a
visualizer, a desktop peer — is rejected with
QAR_STATUS_ARGUMENT_NOT_SUPPORTED.
The invite is served only by the hub running on this machine, and is always a one-time invite: the hub remembers the device so it is visible in the visualizer, but never marks it for automatic re-invite. Only an operator acting in the visualizer can do that.
If another hub in the federation is already hosting a target app for the same host, that one is stopped before this one starts — a device is served by one hub at a time.
Fields§
§header: QarStructureHeader< QAR_STRUCTURE_TYPE_SESSION_INVITE_TARGET_APP_INIT
connection_string: *const c_charRequired; see above for the accepted spellings.