package com.zxhyis.toolss.ad.bean

/**
 * 功能和场景的推送配置
 *
 * 扩展字段，主要是触发弹窗的阈值设定。比如内存低于10%，启动弹窗，配置值为10。 内存使用占比阈值，当前温度阈值，当前电量阈值
 * @param feature_ex1
 *
 */
class PushCfg(
    val actionId: Int = 0,
    val push_stay_time: Int = 10,
    val last_use_interval: Int = 0,
    val push_interval: Int = 0,
    val feature_ex1: Int = 0,
) {
    companion object {
        //功能触发push actionId 主动发送
        const val ID_JUNK_CLEAN_PUSH = 11001 //清理垃圾
        const val ID_BOOST_PUSH = 11002 //性能优化
        const val ID_VIRUS_PUSH = 11003//扫描病毒
        const val ID_BATTERY_PUSH = 11004// 电量信息
        const val ID_COOL_PUSH = 11005//手机降温
        const val ID_BIGFILE_PUSH = 11006// 大文件清理
        const val ID_DUPLICATE_FILE_PUSH = 11007//文件备份,重复文件,相似文件
        const val ID_VIDEO_CLEAN_PUSH = 11008//清理视频缓存
        const val ID_PHOTO_CLEAN_PUSH = 11009//清理相册
        const val ID_PHOTO_COMPRESS = 11010//照片压缩
        const val ID_APP_MANAGER = 11011//应用管理
        const val ID_NETWORK_TRAFFIC = 11012//网络流量
        const val ID_CLEAN_NOTIFICATION = 11013//清理通知栏
        const val ID_RECENT_USE_APP = 11014//最近使用APP
        const val ID_SIMILAR_IMAGE = 11015//清理相似图片
        const val ID_CLEAN_SPEAKER = 11016//清理扬声器
        const val ID_BATTERY_OPTIMIZATION=11017//电池优化

        //场景触发push actionId 被动发送
        const val ID_WIFI_PUSH = 22001//连接wifi时
        const val ID_INSTALL_PACKAGE_PUSH = 22002//安装应用
        const val ID_UNINSTALL_PACKAGE_PUSH = 22003//卸载应用
        const val ID_CHARGE = 22004//充电
        const val ID_LOW_BATTERY_PUSH = 22005//电量低于阈值时
        const val ID_LOW_RAM_PUSH = 22007//内存低于阈值
        const val ID_PHONE_ACCELERATE=22011//手机加速
    }
}





