notify
abstract suspend fun notify(notification: Notification, notificationId: NotificationId? = null): NotificationId
Posts or updates a notification to be shown in the status bar.
Return
an identifier for the notification which can be used to update or cancel it later.
Parameters
notification
the notification to show.
notificationId
an identifier for the notification to show or update or null
to automatically generate one.