Crate termux_notification
source ·Expand description
Display a system notification.
use std::io;
use termux_notification::TermuxNotification;
fn main() -> io::Result<()> {
TermuxNotification::new()
.title("Foo")
.content("Bar")
.show()?;
Ok(())
}§Feature flags
callbacks
Modules§
- Provides callbacks to notifications by socket connection.
Structs§
- Builder for
termux-notificationcommand