Monado OpenXR Runtime
android_looper.h
Go to the documentation of this file.
1// Copyright 2021, Qualcomm Innovation Center, Inc.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Utility functions for android looper.
6 * @author Jarvis Huang
7 * @ingroup aux_android
8 */
9
10#pragma once
11
12#include <xrt/xrt_config_os.h>
13
14#ifdef XRT_OS_ANDROID
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20/*!
21 * Poll the looper until activity is in resume state.
22 */
23void
24android_looper_poll_until_activity_resumed();
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif // XRT_OS_ANDROID
Auto detect OS and certain features.