bevy_android 0.18.1

Provides android functionality for Bevy Engine.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Provides Android functionality for Bevy Engine.

#[cfg(target_os = "android")]
pub use android_activity;

/// [`AndroidApp`] provides an interface to query the application state as well as monitor events
/// (for example lifecycle and input events).
#[cfg(target_os = "android")]
pub static ANDROID_APP: std::sync::OnceLock<android_activity::AndroidApp> =
    std::sync::OnceLock::new();