onStart

abstract fun onStart(context: Context, notifyId: Int, channelId: String, channelName: String, @DrawableRes smallIcon: Int, title: CharSequence, content: CharSequence, isVibrate: Boolean, isSound: Boolean, isSupportCancelDownload: Boolean)

开始

Parameters

context

上下文

notifyId

通知ID

channelId

通知通道ID

channelName

通知通道名称

smallIcon

通知图标

title

通知标题

content

通知内容

isVibrate

通知是否允许震动

isSound

通知是否有铃声

isSupportCancelDownload

是否支持取消下载