Module notifications
Expand description
Local notification settings and the native notification API.
Structs§
- Notification
Config - Delivery details and rules used to compute the desired subscriptions.
Enums§
- Notification
Channel - The delivery endpoint. Credentials are omitted from debug output.
- Notification
Error - Errors use fixed messages and never include notification credentials.
- Notification
Override - A conversation rule. Sync groups use the client rule only.
- Notification
State - The locally stored notification state. This getter does not make a request.
Functions§
- disable_
notifications - Disable locally before unregistering. The recipient identity and overrides stay. A failed unregister leaves the client disabled with its recipient reset owed.
- enable_
notifications - Store configuration, then register inline. The task retries transient errors.
- notification_
state - Read the locally stored state without a backend call.