Skip to main content
Version: Dev (main)

QarSessionInviteTargetAppInit Struct

Ask this machine's hub to start a target app for one AR device. More...

Declaration​

struct QarSessionInviteTargetAppInit { ... }

Included Headers​

Public Member Attributes Index​

const char *connection_string

Required; see above for the accepted spellings. More...

QarStructureHeaderheader

Description​

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.

Definition at line 2106 of file qar_streaming.h.

Public Member Attributes​

connection_string​

const char* QarSessionInviteTargetAppInit::connection_string

Required; see above for the accepted spellings.

Definition at line 2111 of file qar_streaming.h.

header​

QarStructureHeader QarSessionInviteTargetAppInit::header

QAR_STRUCTURE_TYPE_SESSION_INVITE_TARGET_APP_INIT

Definition at line 2109 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.