Skip to main content

sioul_time_action

Function sioul_time_action 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sioul_time_action( action: *const c_char, ) -> *mut c_char
Expand description

A button of Android’s notification, “pause”, “resume” or “stop”, pressed, Sioul’s window running or not (TimeReceiver.java): done here first, as the window would, so that nothing slow can lose it (Android lets the button go after a few seconds, and may stop Sioul then); then sent at once, with what your other devices did, in an exchange without notes and papers; the notification then put up as it follows, in the order the buttons were pressed. Answers that note as JSON, “” when no session is left. Blocks while the sharing exchanges: never on Android’s main thread.

§Safety

action is null, or a zero-terminated text valid for the call.