setNotificationChannel

open fun setNotificationChannel(notificationChannel: NotificationChannel)

Set the specified NotificationChannel This is typically done when use of a customized NotificationChannel (for example, to manage Notification sound settings) is desired. Note that setting a custom NotificationChannel will remove this DownloadManager's default NotificationChannel

Parameters

notificationChannel

The user-created NotificationChannel object