Skip to main content

Module runtime

Module runtime 

Source
Expand description

§Runtime

The Bubba app runtime: lifecycle hooks, built-in actions (alert, log), async task scheduling, and the Android JNI bridge.

Structs§

Runtime
The Bubba runtime instance. One per application process.

Constants§

BUBBA_VERSION
Bubba runtime version.

Functions§

alert
Show a native alert dialog.
log_msg
Log a message (maps to android.util.Log.d on device).
set_global_runtime
Set the thread-local runtime reference (called by cargo bubba bootstrap).
spawn
Spawn a future on the Bubba async executor. This is the free function form used inside event handlers.