createNotificationChannel

Adds a notification channel and saves it to disk. This method is a no-op if a channel is already created with the same identifier. Also creates an equivalent NotificationChannel with NotificationManager.

Parameters

channelCompat

A NotificationChannelCompat.