android-components / mozilla.components.support.base.ids / androidx.core.app.NotificationManagerCompat / notify

notify

fun NotificationManagerCompat.notify(context: <ERROR CLASS>, tag: String, notification: <ERROR CLASS>): Unit (source)

Post a notification to be shown in the status bar.

Uses a unique String tag instead of an Int id like NotificationManagerCompat.notify. This will replace the previous notification with the same tag. See also: SharedIdsHelper for more details.