Notifications
Built Singleton
Notification summary. Requires Notification Access in device settings.
| Module type | notifications |
|---|---|
| Default expression ID | notif |
| Refresh rate | On notification change |
Declaration
<module type="notifications" id="notif" /> Properties
Reference any of these from a template via
{notif:propertyName}.
| Name | Description | Example | Format arg |
|---|---|---|---|
count | Total active notification count | 12 | — |
latestTitle | Title of most recent notification | New message | — |
latestText | Text of most recent notification | Hey, are you free? | — |
latestApp | Package name of most recent notification | com.whatsapp | — |
Events
| Trigger | Description |
|---|---|
| On notification posted | A new notification arrives |
| On notification removed | A notification is dismissed |