NotificationImpl

INotification 的实现,如果需要自定义通知栏的布局,并对 NotificationImpl 的实现不满意,可通过自定义去实现一个 INotification

Author

Jenly

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onCancel(context: Context, notifyId: Int)
取消
Link copied to clipboard
open fun onError(context: Context, notifyId: Int, channelId: String, smallIcon: Int, title: CharSequence, content: CharSequence, isReDownload: Boolean, config: UpdateConfig)
错误
Link copied to clipboard
open fun onFinish(context: Context, notifyId: Int, channelId: String, smallIcon: Int, title: CharSequence, content: CharSequence, file: File, authority: String)
完成
Link copied to clipboard
open fun onProgress(context: Context, notifyId: Int, channelId: String, smallIcon: Int, title: CharSequence, content: CharSequence, progress: Int, size: Int, isSupportCancelDownload: Boolean)
更新进度
Link copied to clipboard
open fun onStart(context: Context, notifyId: Int, channelId: String, channelName: String, smallIcon: Int, title: CharSequence, content: CharSequence, isVibrate: Boolean, isSound: Boolean, isSupportCancelDownload: Boolean)
开始