1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
//! ## Todo
//!
//! - [] fix doc comments
//! - [] implement all options
/// Action to execute when pressing the notification
pub const ACTION: &str = "--action";
/// Do not alert when the notification is edited
pub const ALERT_ONCE: &str = "--alert-once";
/// Text to show on the first notification button
pub const BUTTON1: &str = "--button1";
/// Action to execute on the first notification button
pub const BUTTON1_ACTION: &str = "--button1-action";
/// Text to show on the second notification button
pub const BUTTON2: &str = "--button2";
/// Action to execute on the second notification button
pub const BUTTON2_ACTION: &str = "--button2-action";
/// Text to show on the third notification button
pub const BUTTON3: &str = "--button3";
/// Action to execute on the third notification button
pub const BUTTON3_ACTION: &str = "--button3-action";
/// Content to show in the notification.
pub const CONTENT: &str = "--content";
/// specifies the notification channel id this notification should be send on.
pub const CHANNEL: &str = "--channel";
/// Notification group (notifications with the same
pub const GROUP: &str = "--group";
/// Notification id (will overwrite any previous notification with the same id)
pub const ID: &str = "--id";
/// Set the icon that shows up in the status bar.
/// View available icons at `https://material.io/resources/icons/`
/// (default icon: `event_note`)
pub const ICON: &str = "--icon";
/// Absolute path to an image which will be shown in the
pub const IMAGE_PATH: &str = "--image-path";
/// Color of the blinking led as RRGGBB (default: none)
pub const LED_COLOR: &str = "--led-color";
/// Number of milliseconds for the LED to be off while
pub const LED_OFF: &str = "--led-off";
/// Number of milliseconds for the LED to be on while
pub const LED_ON: &str = "--led-on";
/// Action to execute when the the notification is cleared
pub const ON_DELETE: &str = "--on-delete";
/// Pin the notification
pub const ONGOING: &str = "--ongoing";
/// Notification priority (high/low/max/min/default)
pub const PRIORITY: &str = "--priority";
/// Play a sound with the notification
pub const SOUND: &str = "--sound";
/// Notification title to show
pub const TITLE: &str = "--title";
/// Vibrate pattern, comma separated as in 500,1000,200
pub const VIBRATE: &str = "--vibrate";
/// Notification style to use (default/media)
pub const TYPE: &str = "--type";
/// Action to execute on the media-next button
pub const MEDIA_NEXT: &str = "--media-next";
/// Action to execute on the media-pause button
pub const MEDIA_PAUSE: &str = "--media-pause";
/// Action to execute on the media-play button
pub const MEDIA_PLAY: &str = "--media-play";
/// Action to execute on the media-previous button
pub const MEDIA_PREVIOUS: &str = "--media-previous";