Multi-app with Native SDK
For general information about multi-app support, see Multi-app.
Using multi-app functionality with Varjo Native SDK
Use the function varjo_SessionSetPriority
to enable multi-app functionality.
void varjo_SessionSetPriority(struct varjo_Session* session, int32_t priority)
Sets session overlay priority.
All sessions are grouped based on this value. Only one session from a group is displayed. Higher-priority sessions are overlaid on top of lower-priority ones.
Parameters
- session Varjo session handle.
- priority Varjo session priority. Negative values are allowed. Zero on SessionInit by default.