Mesh Service Notifications
Manages the creation and display of all app notifications.
This class centralizes notification logic, including channel creation, builder configuration, and displaying notifications for various events like new messages, alerts, and service status changes.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates all necessary notification channels on devices running Android O or newer. This should be called once when the service is created.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun updateMessageNotification(contactKey: String, name: String, message: String, isBroadcast: Boolean)
Link copied to clipboard
fun updateServiceStateNotification(summaryString: String?, localStats: <Error class: unknown class>? = null, currentStatsUpdatedAtMillis: Long? = System.currentTimeMillis()): Notification