onError

abstract fun onError(context: Context, notificationId: Int, channelId: String, @DrawableRes smallIcon: Int, title: CharSequence, content: CharSequence, allowRetry: Boolean)

错误

Parameters

context

上下文

notificationId

通知ID

channelId

通知通道ID

smallIcon

通知图标

title

通知标题

content

通知内容

allowRetry

是否允许重试