showStartNotification
fun showStartNotification(context: Context, notificationId: Int, channelId: String, channelName: String, @DrawableRes smallIcon: Int, title: CharSequence, content: CharSequence, isVibrate: Boolean, isSound: Boolean, supportCancelDownload: Boolean)
显示开始下载时的通知
Parameters
context
notificationId
通知ID
channelId
通知渠道ID
channelName
通知渠道名称
smallIcon
小图标资源ID
title
通知标题
content
通知内容
isVibrate
是否震动
isSound
是否播放声音
supportCancelDownload
是否支持取消下载