19struct xrt_instance_android;
An object handling a collection of callbacks for the Android lifecycle.
Definition: android_lifecycle_callbacks.cpp:30
struct android_lifecycle_callbacks * android_lifecycle_callbacks_create(struct xrt_instance_android *xinst_android)
Create an android_lifecycle_callbacks object.
Definition: android_lifecycle_callbacks.cpp:161
int android_lifecycle_callbacks_register_callback(struct android_lifecycle_callbacks *alc, xrt_android_lifecycle_event_handler_t callback, enum xrt_android_lifecycle_event event_mask, void *userdata)
Register a lifecycle event callback.
Definition: android_lifecycle_callbacks.cpp:125
void android_lifecycle_callbacks_destroy(struct android_lifecycle_callbacks **ptr_callbacks)
Destroy an android_lifecycle_callbacks object.
Definition: android_lifecycle_callbacks.cpp:193
int android_lifecycle_callbacks_remove_callback(struct android_lifecycle_callbacks *alc, xrt_android_lifecycle_event_handler_t callback, enum xrt_android_lifecycle_event event_mask, void *userdata)
Remove a lifecycle event callback that matches the supplied parameters.
Definition: android_lifecycle_callbacks.cpp:138
Header holding Android-specific details.
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.
Definition: xrt_android.h:46
xrt_android_lifecycle_event
Distinguishes the possible Android lifecycle events from each other.
Definition: xrt_android.h:32
Auto detect OS and certain features.