showNotification

fun Context.showNotification(notificationId: Int, notification: Notification)

Shows a notification using the specified notification ID and notification object.

Parameters

notificationId

The ID of the notification.

notification

The notification object to be shown.