Multi-app with Native SDK

Note: you are currently viewing documentation for a beta or an older version of Varjo

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.


  • session Varjo session handle.
  • priority Varjo session priority. Negative values are allowed. Zero on SessionInit by default.