Notification
data class Notification(val title: String, val message: String, val type: Notification.Type = Type.Info, val category: Notification.Category = Category.Message, val isSilent: Boolean = false, val id: Int? = null, val deepLink: String? = null, val onlyAlertOnce: Boolean = false)(source)
A notification as the dispatch primitive (NotificationManager) sees it.
Constructors
Link copied to clipboard
constructor(title: String, message: String, type: Notification.Type = Type.Info, category: Notification.Category = Category.Message, isSilent: Boolean = false, id: Int? = null, deepLink: String? = null, onlyAlertOnce: Boolean = false)
Properties
Link copied to clipboard
Link copied to clipboard
replacing a showing notification of the same tag updates it without alerting again.
Link copied to clipboard