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§
- callbacks
- Provides callbacks to notifications by socket connection.
- remove_
handle
Structs§
- Termux
Notification - Builder for
termux-notificationcommand