package com.base.locationsharewhite.fcm

import com.base.locationsharewhite.utils.AppPreferences

object PopupConstObject {

    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_WORK_MANAGER = "workmanager"
    const val POPUP_WHERE_HOVER_HANDLE = "hover_handle"//悬停调用

    //推送总开关 0 关 1开
    val popup_status = "popup_status"

    //推送总数量现在
    const val popup_count = "popup_count"//所有常规推送的当日推送次数限制，0 为不限制

    const val popup_start = "popup_start"
    const val popup_end = "popup_end"
    const val popup_interval = "popup_interval"
    const val popup_timer_interval = "popup_timber_interval"
    const val popup_lock_interval = "popup_lock_interval"
    const val popup_fcm_interval = "popup_fcm_interval"

    const val popup_hover_status = "popup_hover_status"
    const val popup_hover_count = "popup_hover_count"
    const val popup_hover_delay = "popup_hover_delay"

    const val lockS = "lockS"
    const val timerS = "timerS"
    const val timerDelay = "timerDelay"
    const val timerInterval = "timerInterval"

    var topic_number = ""
        get() {
            return AppPreferences.getInstance().getString("topic_number", field)
        }
        set(value) {
            field = value
            AppPreferences.getInstance().put("topic_number", value, true)
        }

    const val ACTION_STAY_HOME = "action_stay_home"
    const val ACTION_STAY_MY_CODE = "action_stay_my_code"
    const val ACTION_STAY_SHARE = "action_stay_share"
    const val ACTION_STAY_SETTING = "action_stay_setting"
    const val ACTION_SHARE_LOCATION = "action_share_location"
    const val ACTION_ENABLE_LOCATION = "action_enable_location"
    const val ACTION_COPY_CODE="action_copy_code"


}