Monado OpenXR Runtime
|
Header holding Android-specific details. More...
#include "xrt/xrt_config_os.h"
#include "xrt/xrt_compiler.h"
#include "xrt/xrt_results.h"
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef bool(* | xrt_android_lifecycle_event_handler_t) (struct xrt_instance_android *xinst_android, enum xrt_android_lifecycle_event event, void *userdata) |
A callback type for a handler of Android lifecycle events. More... | |
Enumerations | |
enum | xrt_android_lifecycle_event { XRT_ANDROID_LIVECYCLE_EVENT_ON_CREATE = 1 << 0 , XRT_ANDROID_LIVECYCLE_EVENT_ON_DESTROY = 1 << 1 , XRT_ANDROID_LIVECYCLE_EVENT_ON_PAUSE = 1 << 2 , XRT_ANDROID_LIVECYCLE_EVENT_ON_RESUME = 1 << 3 , XRT_ANDROID_LIVECYCLE_EVENT_ON_START = 1 << 4 , XRT_ANDROID_LIVECYCLE_EVENT_ON_STOP = 1 << 5 } |
Distinguishes the possible Android lifecycle events from each other. More... | |
Header holding Android-specific details.
typedef bool(* xrt_android_lifecycle_event_handler_t) (struct xrt_instance_android *xinst_android, enum xrt_android_lifecycle_event event, void *userdata) |
A callback type for a handler of Android lifecycle events.
Return true to be removed from the callback list.
Distinguishes the possible Android lifecycle events from each other.
Used as a bitmask when registering for callbacks.