INotification

interface INotification

通知栏进度更新

Author

Jenly

Inheritors

Functions

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