MeshServiceNotificationsImpl
class MeshServiceNotificationsImpl(context: Context, packetRepository: Lazy<PacketRepository>, nodeRepository: Lazy<NodeRepository>) : MeshServiceNotifications(source)
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.
Constructors
Link copied to clipboard
constructor(context: Context, packetRepository: Lazy<PacketRepository>, nodeRepository: Lazy<NodeRepository>)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the last-built service state notification, or builds a default one if none exists. This is used by MeshService for android.app.Service.startForeground.
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard