evan 2026.1.4
Evan
Loading...
Searching...
No Matches
evan::AndroidXrPlatform::AndroidAppState Struct Reference

Struct to track the current state of the Android application. This struct is used to manage the lifecycle of the Android application and ensure that the OpenXR session responds appropriately to changes in the application state, such as when the app is resumed, paused, or stopped. More...

#include <headers/evan/openxr/platform/AndroidXrPlatform.hpp>

Public Attributes

bool _resumed = false
 Indicates whether the Android application is currently resumed. This flag can be used to determine if the OpenXR session should be active or if it should pause rendering and input processing when the app is not in the foreground.
 
bool _paused = false
 Indicates whether the Android application is currently paused. This flag can be used to determine if the OpenXR session should pause rendering and input processing when the app is paused, such as when the user switches to another app or receives a phone call.
 

Detailed Description

Struct to track the current state of the Android application. This struct is used to manage the lifecycle of the Android application and ensure that the OpenXR session responds appropriately to changes in the application state, such as when the app is resumed, paused, or stopped.

Definition at line 73 of file AndroidXrPlatform.hpp.

Member Data Documentation

◆ _paused

bool evan::AndroidXrPlatform::AndroidAppState::_paused = false

Indicates whether the Android application is currently paused. This flag can be used to determine if the OpenXR session should pause rendering and input processing when the app is paused, such as when the user switches to another app or receives a phone call.

Definition at line 99 of file AndroidXrPlatform.hpp.

◆ _resumed

bool evan::AndroidXrPlatform::AndroidAppState::_resumed = false

Indicates whether the Android application is currently resumed. This flag can be used to determine if the OpenXR session should be active or if it should pause rendering and input processing when the app is not in the foreground.

Definition at line 90 of file AndroidXrPlatform.hpp.


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