package com.base.scanqr.bean

import android.content.Context

class NotificationSendBean(
    val context: Context,
    val actionId: String = "",
    val where: String = "",
    val canSend: () -> Boolean = { true },//是否可以发送
    var sendSuccess: (() -> Unit)? = null,//发送成功回调
    var valueMap: HashMap<String, Any> = hashMapOf()//发送通知可能携带的参数
) {

    companion object {

        const val POPUP_WHERE_TIMBER = "Timer"
        const val POPUP_WHERE_LOCK = "Lock"
        const val POPUP_WHERE_FCM = "fcm"
        const val POPUP_WHERE_ALARM = "Alarm"
        const val POPUP_WHERE_BATTERY = "battery"
        const val POPUP_WHERE_PACKAGE = "package"
        const val POPUP_WHERE_WORK_MANAGER = "workManager"
        const val POPUP_WHERE_FILE_JOB = "FileJob"


        const val ACTION_ID_SCAN = "action_id_scan"
    }
}